+
    8i-              
          ^ RI t ^ RIHtHtHt ^ RIt] P                  P                  RR]P                  P                  3R]P                  P                  3R]P                  P                  3R]P                  P                  3R]P                  P                  3R	]P                  P                  3.4      R
 4       tR t] P                  P                  RR]P                  P                  3R]P                  P                  3R]P                  P                  3R]P                  P                  3R]P                  P                  3R]P                  P                  3.4      R 4       t] P                  P                  R]P                  P                  ]P                  P                  ]P                  P                  ]P                  P                  .4      ] P                  P                  RRR.4      R 4       4       t] P                  P                  R]P                  P                  ]P                  P                  ]P                  P                  ]P                  P                  .4      ] P                  P                  RRR.4      R 4       4       t] P                  P                  R]P                  P                  ]P                  P                  ]P                  P                  ]P                  P                  .4      ] P                  P                  RRR.4      R 4       4       t] P                  P                  RR]P                  P                  3R]P                  P                  3R]P                  P                  3R]P                  P                  3R]P                  P                  3R	]P                  P                  3.4      R 4       t] P                  P                  RR]P                  P                  3R]P                  P                  3R]P                  P                  3R]P                  P                  3.4      R 4       tR tR tR tR  tR! tR" tR# tR$ tR% tR& t R# )'    N)RegistryResourceSpecificationzuri, expectedz,https://json-schema.org/draft/2020-12/schemaz,https://json-schema.org/draft/2019-09/schemaz'http://json-schema.org/draft-07/schema#z'http://json-schema.org/draft-06/schema#z'http://json-schema.org/draft-04/schema#z'http://json-schema.org/draft-03/schema#c                `    RV /p\         P                  ! V4      pV\        W!R7      8X  g   Q hR# )z=
The $schema keyword in JSON Schema is a dialect identifier.
$schema)contentsspecificationN)r   from_contents)uriexpectedr   resources   &&  _/var/www/html/photoedit/myenv/lib/python3.14/site-packages/referencing/tests/test_jsonschema.py7test_schemas_with_explicit_schema_keywords_are_detectedr      s2    B 3H%%h/HxJJJJ    c                     R p \         P                  ! \        P                  P                  4      ;_uu_ 4       p\
        P                  ! RV /4       RRR4       XP                  P                  V 8X  g   Q hR#   + '       g   i     L/; i)1http://example.com/unknown-json-schema-dialect-idr   N)	pytestraisesreferencing
jsonschemaUnknownDialectr   r
   valuer   
dialect_idexcinfos     r   test_unknown_dialectr   -   s]    DJ	{--<<	=	=	:67 
>==
*** 
>	=s   A99B		zid, specification$ididc                 <    R pVP                  W/4      V8X  g   Q hR# )zhttp://example.com/some-schemaNid_of)r   r	   r   s   && r   test_id_of_mappingr"   4   s$     +Cy)S000r   r	   r   TFc                 0    V P                  V4      e   Q hR # Nr    r	   r   s   &&r   test_id_of_boolr&   D   s     u%---r   c                 H    \        V P                  V4      4      . 8X  g   Q hR # r$   )list
anchors_inr%   s   &&r   test_anchors_in_boolr*   R   s"     ((/0B666r   c                 H    \        V P                  V4      4      . 8X  g   Q hR # r$   )r(   subresources_ofr%   s   &&r   test_subresources_of_boolr-   `   s"     --e45;;;r   c                 R    \         P                  P                  V 4      V8X  g   Q hR # r$   r   r   specification_withr   r   s   &&r   test_specification_withr2   n   s#    < !!44S9XEEEr   z&http://json-schema.org/draft-07/schemaz&http://json-schema.org/draft-06/schemaz&http://json-schema.org/draft-04/schemaz&http://json-schema.org/draft-03/schemac                 R    \         P                  P                  V 4      V8X  g   Q hR # r$   r/   r1   s   &&r   )test_specification_with_no_empty_fragmentr4      s#    , !!44S9XEEEr   c                  &   R p \         P                  ! \        P                  P                  4      ;_uu_ 4       p\        P                  P                  V 4       RRR4       XP                  P                  V 8X  g   Q hR#   + '       g   i     L/; i)r   N)r   r   r   r   r   r0   r   r   r   s     r   'test_specification_with_unknown_dialectr6      s^    DJ	{--<<	=	=11*= 
>==
*** 
>	=s    B  B	c                      R p \         P                  P                  V \        P                  R7      pV\        P                  J g   Q hR# )r   )defaultN)r   r   r0   r   OPAQUE)r   r	   s     r   test_specification_with_defaultr:      sD    DJ**==$$ > M M00000r   c                     \         P                  P                  P                  R R/4      p \	        4       P                  RV 4      P                  4       pVP                  R4      pVP                  V P                  8X  g   Q hR# )$dynamicAnchorfoohttp://example.comzhttp://example.com#fooN)	r   r   DRAFT202012create_resourcer   with_resourceresolverlookupr   )onerB   resolveds      r   test_lookup_trivial_dynamic_refrF      sm    

 
 
,
,
<
<	5!C z''(<cBKKMH78H,,,r   c                  0   \         P                  P                  P                  R 4      p \         P                  P                  P                  RRRRRRRRRRRRR RRR/////4      p\	        4       P                  RV3R	V 3R
V3.4      P                  4       pVP                  R4      pVP                  P                  R4      pVP                  P                  R4      P                  pVP                  R4      pVP                  VP                  8X  g   Q hR# )Tr   r>   r<   	fooAnchor$defsr=   barbazhttp://example.com/foo/http://example.com/foo/barfoo/
#fooAnchorN	r   r   r?   r@   r   with_resourcesrB   rC   r   TRUErootrB   firstsecondfourths         r   (test_multiple_lookup_trivial_dynamic_refrX      s   !!--==dCD!!--=='k5$kt,k 		
D& 	
	%t,*D1-t4

 
  OO01E^^""6*F%%e,55H__\*F??dmm+++r   c                  4   \         P                  P                  P                  R R/4      p \         P                  P                  P                  RRRRRRRRRRRRRR	RR/////4      p\	        4       P                  RV3R
V 3RV3.4      P                  4       pVP                  R4      pVP                  P                  R4      pVP                  P                  R4      P                  pVP                  R4      pVP                  VP                  8X  g   Q hR# )$anchorrH   r   r>   r<   rI   r=   rJ   TrK   rL   rM   rN   rO   NrP   )rD   tworB   rU   rV   rW   s         r   2test_multiple_lookup_dynamic_ref_to_nondynamic_refr\      s'   

 
 
,
,
<
<	K C 
 
 
,
,
<
<'k5$kt,k 		
C& 	
	%s+*C0-s3

 
  OO01E^^""6*F%%e,55H__\*F??cll***r   c                  \   \         P                  P                  P                  R R/4      p \	        4       P                  RV 4      P                  4       pVP                  R4      p\         P                  P                  VP                  R7      pVP                  V P                  8X  g   Q hR# )$recursiveAnchorTr>   rB   N)
r   r   DRAFT201909r@   r   rA   rB   rC   lookup_recursive_refr   )rD   rB   rU   rE   s       r   !test_lookup_trivial_recursive_refrb     s    

 
 
,
,
<
<	T"C z''(<cBKKMHOO01E%%:: ; H ,,,r   c                     \         P                  P                  P                  R 4      p \	        RV /4      p\         P                  P                  VP                  RR7      R7      pVP                  V P                  8X  g   Q hR# )Tr>   )base_urir_   N)r   r   r`   r@   r   ra   rB   r   )rS   registryrE   s      r   !test_lookup_recursive_ref_to_boolrf     su    !!--==dCD-t45H%%::"",@"A ; H ---r   c                  R   \         P                  P                  P                  R 4      p \         P                  P                  P                  RRRR RRRRRR RRR RRR RR	/////4      p\	        4       P                  RV3R
V 3RV3.4      P                  4       pVP                  R4      pVP                  P                  R4      pVP                  P                  R4      P                  p\         P                  P                  VR7      pVP                  VP                  8X  g   Q hR# )Tr   r>   r^   rI   r=   rJ   rK   rZ   rH   rL   rM   rN   r_   N
r   r   r`   r@   r   rQ   rB   rC   ra   r   rR   s         r   *test_multiple_lookup_recursive_ref_to_boolri   (  s-   !!--==dCD!!--=='5&t.%{ 
	
D( 	
	%t,*D1-t4

 
  OO01E^^""6*F%%e,55H##88(8KF??dmm+++r   c                     \         P                  P                  P                  R R/4      p \         P                  P                  P                  RRR RRRRRR RRRRRR RRR	/////4      p\         P                  P                  P                  R R
/4      p\	        4       P                  RV3RV3RV 3.4      P                  4       pVP                  R4      pVP                  P                  R4      pVP                  P                  R4      P                  p\         P                  P                  VR7      pVP                  VP                  8X  g   Q hR# )r^   Tr   r>   rI   r=   rJ   rK   rZ   rH   FrL   rM   rN   r_   Nrh   )rD   r[   threerB   rU   rV   rW   s          r   8test_multiple_lookup_recursive_ref_with_nonrecursive_refrl   P  s]   

 
 
,
,
<
<	T"C 
 
 
,
,
<
<'5&t.%{ 
	
C& ""..>>	U#E 	
	%u-*C0-s3

 
  OO01E^^""6*F%%e,55H##88(8KF??cll***r   c                  X    \         P                  P                  \        4       8X  g   Q hR # r$   )r   r   EMPTY_REGISTRYr    r   r   test_empty_registryrp   }  s    !!00HJ>>>r   )!r   r   r   r   r   referencing.jsonschemamarkparametrizer   r?   r`   DRAFT7DRAFT6DRAFT4DRAFT3r   r   r"   r&   r*   r-   r2   r4   r6   r:   rF   rX   r\   rb   rf   ri   rl   rp   ro   r   r   <module>rx      s    9 9   ;""..	

 ;""..	

 6""))	

 6""))	

 6""))	

 6""))	
+:K;:K+ 	&&223	&&223	&&--.	&&--.	{%%,,-	{%%,,-
1
1
 ****%%%%	 4-0. 1. ****%%%%	 4-07 17 ****%%%%	 4-0< 1<  ;""..	

 ;""..	

 6""))	

 6""))	

 6""))	

 6""))	
+:F;:F  5""))	

 5""))	

 5""))	

 5""))	
*F+*F+1-$,N&+R	-.%,P*+Z?r   