+
    Bi                         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_forzThe 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       L/var/www/html/photoedit/myenv/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BIx H,(*IYv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yy T	 ! 	/###G!#.	/ # 3""s||~"F%'U23 TTs=   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B6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??;;Ef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gGgG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*]GG&&xM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 2L
	

< <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
QK
 	
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(      GM-
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,>,>XJ&?@Ig%)N*C*Cll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    HHS: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,          rM
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yy''" 3''"S\\^ (  &'U2	3s    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 
 &4II
	DzH +"!##	 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   hhrl 3 **SZZsyy :r   