+
    ÂHàjý   ã                   ó  € R t ^ RIHt ^ RIHt ^ RIHt ^ RIHt ^ RI	t	^ RIt^ RI
t
^ RIt^ RIt^ RIHtHt ^ RIHt ^ RIHtHt ]P*                  ! R	]^R
7        ! R R]4      t] ! R R4      4       t] ! R R4      4       t] ! R R4      4       tR t]	P:                  ! RR7      t]P?                  RRRRRR7       ]P?                  RRRR7       ]P?                  R R!R"R#.R"R$R%7       ]P?                  R&R']R(R)7       ]P?                  R*R+R7       ]P?                  R,R-]P@                  ! R.4      R/7       ]P?                  R0R1R7       R2 t!R3 t"]
PF                  R4,          3R5 lt$]
PJ                  ]
PL                  ]
PN                  3R6 lt(R# )7z"
The ``jsonschema`` command line.
)Úmetadata)ÚJSONDecodeError©Úresolve_name)ÚdedentN)ÚdefineÚfield)ÚSchemaError)Ú_RefResolverÚvalidator_forzµThe jsonschema CLI is deprecated and will be removed in a future version. Please use check-jsonschema instead, which can be installed from https://pypi.org/project/check-jsonschema/)Ú
stacklevelc                   ó   € ] tR t^tRtR# )Ú_CannotLoadFile© N)Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__static_attributes__r   ó    Ú�/home/ubuntu/.hermes/installs/5f0a1ff4045d044e/environments/50f6b671e3f94b538e344231dfcb664f/venv/lib/python3.14/site-packages/jsonschema/cli.pyr   r      s   † Ûr   r   c                   óx   a € ] tR t^#t o ]! 4       t]! 4       t]! 4       t]R 4       t	R t
R tR tR tR tRtV tR# )	Ú
_Outputterc                óˆ   € VR ,          R8X  d   \        VR,          4      pMVR ,          R8X  d   \        4       pV ! XW#R7      # )ÚoutputÚplainÚerror_formatÚpretty)Ú	formatterÚstdoutÚstderr)Ú_PlainFormatterÚ_PrettyFormatter)ÚclsÚ	argumentsr   r    r   s   &&&& r   Úfrom_argumentsÚ_Outputter.from_arguments*   s@   € à�XÕ 'Ô)Ü'¨	°.Õ(AÓB‰IØ�xÕ  HÔ,Ü(Ó*ˆIÙ˜Y¨vÔEÐEr   c                óª  €  \        V4      pT;_uu_ 4         \        P                  ! T4      uuRRR4       #   \         d7   pT P                  T\        P                  ! 4       R 7       \        4       ThRp?ii ; i  \         d7   pT P                  T\        P                  ! 4       R 7       \        4       ThRp?ii ; i  + '       g   i     R# ; i)©ÚpathÚexc_infoN)
ÚopenÚFileNotFoundErrorÚfilenotfound_errorÚsysr*   r   ÚjsonÚloadr   Úparsing_error)Úselfr)   ÚfileÚerrors   &&  r   r0   Ú_Outputter.load2   s£   € ð	/Ü˜“:ˆD÷
 ŠTð3Ü—y’y “÷ ŠTøô	 !ô 	/Ø×#Ñ#¨¼¿º»Ð#ÔGÜ!Ó#¨Ð.ûð	/ûô #ô 3Ø×"Ñ"¨´s·|²|³~Ð"ÔFÜ%Ó'¨UÐ2ûð3ú÷ �TˆTús=   ‚9 —C™A=¹A:Á1A5Á5A:Á=B>Â1B9Â9B>Â>CÃC	c                óp   € V P                   P                  V P                  P                  ! R/ VB 4       R # ©Nr   )Ú_stderrÚwriteÚ
_formatterr-   ©r2   Úkwargss   &,r   r-   Ú_Outputter.filenotfound_error@   ó&   € Ø�‰×Ñ˜4Ÿ?™?×=Ò=ÑGÀÑGÖHr   c                óp   € V P                   P                  V P                  P                  ! R/ VB 4       R # r7   )r8   r9   r:   r1   r;   s   &,r   r1   Ú_Outputter.parsing_errorC   s&   € Ø�‰×Ñ˜4Ÿ?™?×8Ò8ÑB¸6ÑBÖCr   c                óp   € V P                   P                  V P                  P                  ! R/ VB 4       R # r7   )r8   r9   r:   Úvalidation_errorr;   s   &,r   rB   Ú_Outputter.validation_errorF   s&   € Ø�‰×Ñ˜4Ÿ?™?×;Ò;ÑE¸fÑEÖFr   c                óp   € V P                   P                  V P                  P                  ! R/ VB 4       R # r7   )Ú_stdoutr9   r:   Úvalidation_successr;   s   &,r   rF   Ú_Outputter.validation_successI   r>   r   r   N)r   r   r   r   r   r:   rE   r8   Úclassmethodr%   r0   r-   r1   rB   rF   r   Ú__classdictcell__©Ú__classdict__s   @r   r   r   #   sS   ø‡ € ñ “€JÙ‹g€GÙ‹g€GàñFó ðFò3òIòDòG÷Ið Ir   r   c                   óL   a € ] tR t^Mt o ]! R4      tRtR tR tR t	R t
RtV tR# )	r"   z`        ===[{type}]===({path})===

        {body}
        -----------------------------
        z===[SUCCESS]===({path})===
c                óF   € V P                   P                  VR V: R2R7      # )r,   z does not exist.©r)   ÚtypeÚbody)Ú
_ERROR_MSGÚformat©r2   r)   r*   s   &&&r   r-   Ú#_PrettyFormatter.filenotfound_errorZ   s/   € Ø�‰×%Ñ%ØØ$Ø‘8Ð+Ð,ð &ó 
ð 	
r   c                ó¨   € Vw  r4pR P                  \        P                  ! W4V4      4      pV P                  P	                  VVP
                  VR7      # )Ú rN   )ÚjoinÚ	tracebackÚformat_exceptionrQ   rR   r   )r2   r)   r*   Úexc_typeÚ	exc_valueÚexc_tracebackÚ	exc_liness   &&&    r   r1   Ú_PrettyFormatter.parsing_errora   sW   € Ø-5Ñ*ˆ˜]Ø—G‘GÜ×&Ò& x¸MÓJó
ˆ	ð �‰×%Ñ%ØØ×"Ñ"Øð &ó 
ð 	
r   c                óf   € V P                   P                  VVP                  P                  VR 7      # )rN   )rQ   rR   Ú	__class__r   ©r2   Úinstance_pathr4   s   &&&r   rB   Ú!_PrettyFormatter.validation_errorl   s1   € Ø�‰×%Ñ%ØØ—‘×)Ñ)Øð &ó 
ð 	
r   c                ó:   € V P                   P                  VR 7      # ))r)   )Ú_SUCCESS_MSGrR   ©r2   rb   s   &&r   rF   Ú#_PrettyFormatter.validation_successs   s   € Ø× Ñ ×'Ñ'¨]Ð'Ó;Ð;r   r   N)r   r   r   r   r   rQ   re   r-   r1   rB   rF   r   rI   rJ   s   @r   r"   r"   M   s6   ø‡ € ñ ð	ó€Jð 2€Lò
ò	
ò
÷<ð <r   r"   c                   óF   a € ] tR t^wt o ]! 4       tR tR tR tR t	Rt
V tR# )r!   c                ó   € V: R 2# )z does not exist.
r   rS   s   &&&r   r-   Ú"_PlainFormatter.filenotfound_error|   s   € Ø‘Ð+Ð,Ð,r   c                óX   € R P                  VR8X  d   RM
\        V4      V^,          4      # )zFailed to parse {}: {}
ú<stdin>)rR   ÚreprrS   s   &&&r   r1   Ú_PlainFormatter.parsing_error   s,   € Ø)×0Ñ0Ø Ô*‰I´°T³
Ø�Q�Kó
ð 	
r   c                ó:   € V P                   P                  WR 7      # ))Ú	file_namer4   )Ú_error_formatrR   ra   s   &&&r   rB   Ú _PlainFormatter.validation_error…   s   € Ø×!Ñ!×(Ñ(°=Ð(ÓNÐNr   c                ó   € R # )rV   r   rf   s   &&r   rF   Ú"_PlainFormatter.validation_successˆ   s   € Ùr   r   N)r   r   r   r   r   rq   r-   r1   rB   rF   r   rI   rJ   s   @r   r!   r!   w   s(   ø‡ € ñ “G€Mò-ò
òO÷ð r   r!   c                 ó8   € R V 9  d
   RV ,           p \        V 4      # )Ú.zjsonschema.r   )Únames   &r   Ú_resolve_name_with_defaultrx   Œ   s   € Ø
�$„Ø˜tÕ#ˆÜ˜ÓÐr   zJSON Schema Validation CLI)Údescriptionz-iz
--instanceÚappendÚ	instanceszÑ
        a path to a JSON instance (i.e. filename.json) to validate (may
        be specified multiple times). If no instances are provided via this
        option, one will be expected on standard input.
    )ÚactionÚdestÚhelpz-Fz--error-formata¢  
        the format to use for each validation error message, specified
        in a form suitable for str.format. This string will be passed
        one formatted object named 'error' for each ValidationError.
        Only provide this option when using --output=plain, which is the
        default. If this argument is unprovided and --output=plain is
        used, a simple default representation will be used.
    )r~   z-oz--outputr   r   zÓ
        an output format to use. 'plain' (default) will produce minimal
        text with one line for each error, while 'pretty' will produce
        more detailed human-readable output on multiple lines.
    )ÚchoicesÚdefaultr~   z-Vz--validatorzª
        the fully qualified object name of a validator to use, or, for
        validators that are registered with jsonschema, simply the name
        of the class.
    )rO   r~   z
--base-urizá
        a base URI to assign to the provided schema, even if it does not
        declare one (via e.g. $id). This option can be used if you wish to
        resolve relative references to a particular URI (or local path)
    z	--versionÚversionÚ
jsonschema)r|   r�   Úschemaz=the path to a JSON Schema to validate with (i.e. schema.json)c                 óú   € \        \        P                  T ;'       g    R .R7      4      pVR,          R8w  d%   VR,          '       d   \        P                  R4      hVR,          R8X  d   VR,          f   RVR&   V# )z--help©Úargsr   r   r   z3--error-format can only be used with --output plainz"{error.instance}: {error.message}
)ÚvarsÚparserÚ
parse_argsr4   )r†   r$   s   & r   r‰   r‰   Ð   sx   € Ü”V×&Ñ&¨D×,>Ð,>°X°JÐ&Ó?Ó@€IØ�Õ˜gÔ%¨)°N×*CÔ*CÜ�l‰lØAó
ð 	
ð �Õ˜gÔ%¨)°NÕ*CÒ*KØ$Iˆ	�.Ñ!ØÐr   c                 ó–   € R pVP                  V4       F  pRpVP                  WR7       K  	  V'       g   VP                  V R7       V# )FT©rb   r4   )rb   )Úiter_errorsrB   rF   )rb   ÚinstanceÚ	validatorÚ	outputterÚinvalidr4   s   &&&&  r   Ú_validate_instancer‘   Û   sM   € Ø€GØ×&Ñ& xÖ0ˆØˆØ×"Ñ"°Ð"ÖLñ 1÷ Ø×$Ñ$°=Ð$ÔAØ€Nr   :é   NNc                 óZ   € \         P                  ! \        \        V R 7      R7      4       R# )r…   )r$   N)r.   ÚexitÚrunr‰   r…   s   &r   Úmainr–   æ   s   € Ü‡H‚HŒSœ:¨4Ô0Ô1Ö2r   c           	      óv  aa€ \         P                  V VVR 7      o SP                  V R,          4      pT R,          pTf   \	        T4      p TP                  T4       T R,          '       d   SP                  T R,          r‡M
TT3R lpR.pT R,          e   \        T R,          TR	7      MRp	T! YIR
7      p
^ pT F"  p T! T4      pT\        TTT
SR7      ,          pK$  	  T#   \         d     ^# i ; i  \         d&   pSP                  T R,          TR7        Rp?^# Rp?ii ; i  \         d    ^p K}  i ; i))r$   r   r    rƒ   rŽ   Nr‹   r{   c                 óº   <€  \         P                  ! S4      #   \         d7   pSP                  R \        P
                  ! 4       R7       \        4       ThRp?ii ; i)rl   r(   N)r/   r0   r   r1   r.   r*   r   )Ú_r4   r�   Ústdins   & €€r   r0   Úrun.<locals>.load  sR   ø€ ð3Ü—y’y Ó'Ð'øÜ"ô 3Ø×'Ñ'Ø"¬S¯\ª\«^ð (ô ô &Ó'¨UÐ2ûð	3ús   ƒ ™A¤1AÁArl   Úbase_uri)rœ   Úreferrer)Úresolver)rb   r�   rŽ   r�   )
r   r%   r0   r   r   Úcheck_schemar	   rB   r
   r‘   )r$   r   r    rš   rƒ   Ú	Validatorr4   r0   r{   rž   rŽ   Ú	exit_codeÚeachr�   r�   s   &&&f          @r   r•   r•   ê   sn  ù€ Ü×)Ñ)ØØØð *ó €IðØ—‘ 	¨(Õ 3Ó4ˆð ˜+Õ&€IØÒÜ! &Ó)ˆ	ðØ×Ñ˜vÔ&ð �×ÔØ#Ÿ.™.¨)°KÕ*@‰iö	3ð �Kˆ	ð
 
�:Õ	Ò	*ô Ø˜:Õ&Øõð 15ð ñ
 ˜&Ô4€IØ€IÛˆð
	Ù˜D“zˆHð Ô+Ø"Ø!Ø#Ø#ô	õ ŠIñ ð Ðøôc ô Úðûô ô Ø×"Ñ"Ø# HÕ-Øð 	#ô 	
õ ûðûô< ô 	Ø‹Ið	ús;   œC" ÁC4 Â>D'Ã"C1Ã0C1Ã4D$Ã?DÄD$Ä'D8Ä7D8))Ú__doc__Ú	importlibr   r/   r   Úpkgutilr   Útextwrapr   Úargparser.   rX   ÚwarningsÚattrsr   r   Újsonschema.exceptionsr	   Újsonschema.validatorsr
   r   ÚwarnÚDeprecationWarningÚ	Exceptionr   r   r"   r!   rx   ÚArgumentParserrˆ   Úadd_argumentr�   r‰   r‘   Úargvr–   r   r    rš   r•   r   r   r   Ú<module>r²      sç  ðñõ Ý  Ý  Ý Û Û Û 
Û Û ç å -ß =à ‡‚ð	:ð Øõô	�iô 	ð ÷&Ið &Ió ð&IðR ÷&<ð &<ó ð&<ðR ÷ð ó ðò(ð 
×	 Ò	 Ø,ô
€ð × Ñ Øˆ,ØØ	ð
ð	 ô 	ð × Ñ ØÐ
ð
ð ô 
ð × Ñ Øˆ*Ø�hÐØð
ð	 ô 	ð × Ñ Øˆ-Ø	#ð
ð ô ð × Ñ Øð
ð ô ð × Ñ ØØØ×Ò˜\Ó*ð ô ð
 × Ñ ØØ	Hð ô òòð �h‰h�r�lô 3ð Ÿ*™*¨S¯Z©Z¸s¿y¹yö :r   