403Webshell
Server IP : 178.105.222.151  /  Your IP : 216.73.216.38
Web Server : nginx/1.28.3
System : Linux MNK 7.0.0-15-generic #15-Ubuntu SMP PREEMPT_DYNAMIC Wed Apr 22 16:06:43 UTC 2026 x86_64
User : www-data ( 33)
PHP Version : 8.5.4
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /lib/python3/dist-packages/jsonschema/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/jsonschema/__pycache__/validators.cpython-314.pyc
+
P4i���"�a�0t$Rt^RIHt^RIHt^RIHtHtH	t	^RI
Ht^RIH
t
^RIHtHtHtHt^RIHt^RIHt^R	It^R	It^R	It^R	It^R
IHtHtHt^RIHt ^RI!H"t"^R	I#t$^R	I%t$^R
I&H't'H(t(H)t)H*t*H+t+H,t,H-t-^RI.H/t/],P`!4t1/t2R]3R&],Ph!4t5Rt6Rt7RRlt8] Pr!]$Pt!]8R74t;RXR	]*Px]'Pz]$PLP|P~]
!R43RRllt@RYRltA]@!] P�!R4/R](P�bR])P�bR](P�bR])P�bR])P�bR ](P�bR!](P�bR"])P�bR#](P�bR])P�bR$](P�bR%](P�bR&])P�bR'](P�bR(](P�bR)])P�bR*](P�bR+](P�R,])P�R-])P�R.](P�/C]*P�]'P�R/]$PLP�P~])P�R07t\]@!] P�!R14/R](P�bR])P�bR](P�bR2](P�bR3](P�bR])P�bR!](P�bR#](P�bR])P�bR$](P�bR%](P�bR4](P�bR&])P�bR'](P�bR(](P�bR5](P�bR)])P�bR6](P�R7](P�R8](P�R*](P�R+](P�R,](P�R9](P�R-](P�R.](P�/	C]*P�]'P�R:]$PLP�P~])P�R07tj]@!] P�!R;4/R](P�bR])P�bR](P�bR2](P�bR3](P�bR<](P�bR=])P�bR])P�bR!](P�bR>](P�bR?](P�bR#](P�bR])P�bR$](P�bR%](P�bR4](P�bR&](P�bR'](P�R(](P�R5](P�R)](P�R6](P�R7](P�R8](P�R*](P�R+](P�R,](P�R@](P�R9](P�R-](P�R.](P�/C]*P�]'P�RA]$PLP�P~])P�R07tv]@!] P�!RB4/R](P�bR])P�bR](P�bR2](P�bR3](P�bR<](P�bR=])P�bR])P�bR!](P�bR>](P�bR?](P�bR#](P�bRC](P�bR])P�bR$](P�bR%](P�bR4](P�bR&](P�R'](P�R(](P�R5](P�R)](P�R6](P�R7](P�R8](P�R*](P�R+](P�R,](P�R@](P�R9](P�R-](P�R.](P�/C]*P�]'P�RD]$PLP�P~])P�R07t{]@!] P�!RE4/RF])P�bR](P�bR])P�bR](P�bR2](P�bR3](P�bR<](P�bR=](P�bRG](P�bRH](P�bR!](P�bR>](P�bR?](P�bR#](P�bRC](P�bR])P�bR$](P�b/R%](P�bR4](P�bR&](P�bR'](P�bR(](P�bR5](P�bR)](P�bR6](P�bR7](P�bR8](P�bR*](P�bR+](P�bR,](P�bR@](P�bR9](P�bR-](P�bRI])EPbCRJ](EPR.](P�/C]*EP]'EPRKRL7t�]@!] P�!RM4/RN](EP
bR](P�bR](P�bR2](P�bR3](P�bR<](P�bR=](P�bRG](P�bRH](P�bR!](P�bR>](P�bR?](P�bR#](P�bRC](P�bR](EPbR$](P�bR%](P�b/R4](P�bR&](P�bR'](P�bR(](P�bR5](P�bR)](P�bR6](P�bR7](P�bR8](P�bR*](P�bR+](P�bRO](EPbR,](P�bR@](P�bR9](P�bR-](P�bRI](EPbCRJ](EPR.](P�/C]*Px]'PzRPRL7t�]�t�!RQRR4t�RZt�RSt�RTt�RUt�R[RVlt�]13RWlt�R	#)\zQ
Creation and extension of validators, with implementations for existing drafts.
)�annotations)�deque)�Iterable�Mapping�Sequence)�	lru_cache)�methodcaller)�unquote�	urldefrag�urljoin�urlsplit)�urlopen)�warnN)�define�field�fields)�REGISTRY)�HashTrieMap)�_format�	_keywords�_legacy_keywords�_types�_typing�_utils�
exceptions)�	Validatorzdict[str, Validator]�_VALIDATORSc��VR8Xd&\P!R\^R7^RIHpV#VR8Xd$\P!R\^R7\
#VR8Xd$\P!R\^R7\#VR8Xd2\P!\P\^R7\#\R	\R
V24h)�	ErrorTreezkImporting ErrorTree from jsonschema.validators is deprecated. Instead import it from jsonschema.exceptions.��
stacklevel)r�
validatorszvAccessing jsonschema.validators.validators is deprecated. Use jsonschema.validators.validator_for with a given schema.�meta_schemaszxAccessing jsonschema.validators.meta_schemas is deprecated. Use jsonschema.validators.validator_for with a given schema.�RefResolverzmodule z has no attribute )�warningsr�DeprecationWarning�jsonschema.exceptionsrr�
_META_SCHEMAS�_RefResolver�_DEPRECATION_MESSAGE�AttributeError�__name__)�namers& �7/usr/lib/python3/dist-packages/jsonschema/validators.py�__getattr__r.)s����{���
�
�
<���		
�	4���	
��	��
�
�
K���		
���	
��	��
�
�
K���		
���	
��	��
�
��-�-���	
�
��
�7�8�*�,>�t�f�E�
F�F�c�a�V3RlpV#)ay
Register the decorated validator for a ``version`` of the specification.

Registered validators and their meta schemas will be considered when
parsing :kw:`$schema` keywords' URIs.

Arguments:

    version (str):

        An identifier to use as the version's name

Returns:

    collections.abc.Callable:

        a class decorator to decorate the validator with the version
c�b<�V\S&VPVP4pV\V&V#�N)r�ID_OF�META_SCHEMAr')�cls�meta_schema_id�versions& �r-�
_validates�validates.<locals>._validatesas.���"��G�����3�?�?�3��(+�
�n�%��
r/�)r7r8sf r-�	validatesr;Ms���(�
�r/c��V^8�dQhRR/#)��uri�strr:)�formats"r-�__annotate__rAis��
�
�3�
r/c�^�^RIHpHpRR/pV!WR7pV!V4;_uu_4p\P!R\
^	R7\PP\P!V4\PPR7uuRRR4# +'giR#;i)	�)�Requestr
z
User-Agentz.python-jsonschema (deprecated $ref resolution))�headersa�Automatically retrieving remote references can be a security vulnerability and is discouraged by the JSON Schema specifications. Relying on this behavior is deprecated and will shortly become an error. If you are sure you want to remotely retrieve your reference and that it is safe to do so, you can find instructions for doing so via referencing.Registry in the referencing documentation (https://referencing.readthedocs.org).r)�default_specificationN)
�urllib.requestrDr
r$rr%�referencing�Resource�
from_contents�json�load�
jsonschema�DRAFT202012)r>rDr
rE�request�responses&     r-�_warn_for_remote_retrieverQis���/��M�N�G��c�+�G�	��	�	�X��
�
�
5�
��	
��#�#�1�1��I�I�h��"-�"8�"8�"D�"D�2�
�
�	�	�	�s�A*B�B,	)�retrieve�itemsc�4�V^8�dQhRRRRRRRRR	R
RRR
R/#)r=�meta_schemaz#referencing.jsonschema.ObjectSchemar!zcMapping[str, _typing.SchemaKeywordValidator] | Iterable[tuple[str, _typing.SchemaKeywordValidator]]r7z
str | None�type_checkerz_types.TypeChecker�format_checkerz_format.FormatChecker�id_ofz
_typing.id_of�applicable_validatorsz_typing.ApplicableValidatorsr:)r@s"r-rArA�sY��l�l�4�l�	?�l��
l�%�l�*�l��l�8�lr/c�&aaaaaa
aa�Vo\PPS!S4;'gR\PPR7o\
!VV
VVVVVV3RlR44p\
V4Uu.uF/pVP'gKVPVP3NK1	upo
VeSVP4PRR4PRR4p	V	R2;VnVn
\V4!V4pV#uupi)a}
Create a new validator class.

Arguments:

    meta_schema:

        the meta schema for the new validator class

    validators:

        a mapping from names to callables, where each callable will
        validate the schema property with the given name.

        Each callable should take 4 arguments:

            1. a validator instance,
            2. the value of the property being validated within the
               instance
            3. the instance
            4. the schema

    version:

        an identifier for the version that this validator class will
        validate. If provided, the returned validator class will
        have its ``__name__`` set to include the version, and also
        will have `jsonschema.validators.validates` automatically
        called for the given version.

    type_checker:

        a type checker, used when applying the :kw:`type` keyword.

        If unprovided, a `jsonschema.TypeChecker` will be created
        with a set of default types typical of JSON Schema drafts.

    format_checker:

        a format checker, used when applying the :kw:`format` keyword.

        If unprovided, a `jsonschema.FormatChecker` will be created
        with a set of default formats typical of JSON Schema drafts.

    id_of:

        A function that given a schema, returns its ID.

    applicable_validators:

        A function that, given a schema, returns the list of
        applicable schema keywords and associated values
        which will be used to validate the instance.
        This is mostly used to support pre-draft 7 versions of JSON Schema
        which specified behavior around ignoring keywords if they were
        siblings of a ``$ref`` keyword. If you're not attempting to
        implement similar behavior, you can typically ignore this argument
        and leave it at its default.

Returns:

    a new `jsonschema.protocols.Validator` class
zurn:unknown-dialect)�
dialect_id�defaultc�<�]tRt^�t$]!Z4t]!Z4tZtZt]	!Z4t
Zt]!]
PR7tR]R&]!RRRR7t]!RR7tR	]R
&]!]RRR7tR
]R&]!RRRRR7tRtVV3Rlt]]3Rl4t]V3Rl4tV3RltRV3RlltRVV3RlltRt Rt!Rt"RRlt#Rt$R#)�create.<locals>.Validator)�reprzreferencing.jsonschema.Schema�schemaNF�resolver)r\r_�alias�r\z_format.FormatChecker | NonerWT)r\�kw_onlyr_z%referencing.jsonschema.SchemaRegistry�	_registry�	_resolver)rbr\rdr_c	�R�\P!R\^R7RpWnR#)aKSubclassing validator classes is not intended to be part of their public API. A future version will make doing so an error, as the behavior of subclasses isn't guaranteed to stay the same between releases of jsonschema. Instead, prefer composition of validators, wrapping them in an object owned entirely by the downstream library.rc� �VPpVPRVP4p\W2R7p\	V4FDpVP
'gKVPpVPpWq9gK7\W4W&KF	V!R/VB#�r`rcr:)	�	__class__�
setdefaultr`�
validator_forr�initr,rb�getattr)�self�changesr5r`�NewValidatorr�	attr_name�	init_names&,      r-�evolve�;create.<locals>.Validator.__init_subclass__.<locals>.evolvesz���n�n�� �+�+�H�d�k�k�B��,�V�A��#�C�[�E� �:�:�:� � %�
�
�I� %���I� �/�-4�T�-E��*�
)�$�.�g�.�.r/N)r$rr%rt)r5rts& r-�__init_subclass__�+create.<locals>.Validator.__init_subclass__�s(���M�M�@�#��
�

/� �Jr/c	�X<�VPf^VPpV\Jd\P!V4pSPVP4pVPV4Vn\VPRR4pVe#S!VP4pVeV!V4R#R#R#)N�
push_scope)
rfre�_REMOTE_WARNING_REGISTRY�SPECIFICATIONS�combine�create_resourcer`�resolver_with_rootrn�
_ref_resolver)ro�registry�resourcery�idrX�
specifications&    ��r-�__attrs_post_init__�-create.<locals>.Validator.__attrs_post_init__s�����~�~�%��>�>���#;�;�-�5�5�h�?�H�(�8�8����E��!)�!<�!<�X�!F���!��!3�!3�\�4�H�J��%��4�;�;�'���>��r�N�"�&r/c	���\VPVR7pV\Jd
VPpV!VPVR7pVP	V4F p\
PPV4h	R#)rc)r`rWN)rlr4�_UNSET�FORMAT_CHECKER�iter_errorsr�SchemaError�create_from)r5r`rWr�	validator�errors&&&   r-�check_schema�&create.<locals>.Validator.check_schema$sg��%�c�o�o�s�C�I���'�!*�!9�!9��!����-��I�#�.�.�v�6�� �,�,�8�8��?�?�7r/c	��<�\P!RVPPR2\^R7VP
f'\PVPSR7VnVP
#)z
Accessing z�.resolver is deprecated as of v4.18.0, in favor of the https://github.com/python-jsonschema/referencing library, which provides more compliant referencing behavior as well as more flexible APIs for customization.r)rX)	r$rrjr+r%rr(�from_schemar`)rorXs&�r-ra�"create.<locals>.Validator.resolver0sq����M�M� ����!8�!8� 9�:%�%�#��
��!�!�)�%1�%=�%=��K�K��&>�&��"��%�%�%r/c	�<�VPRVP4p\W PR7pSFwrEWQ9gK
\	W4W&K	V!R/VB#ri)rkr`rlrjrn)rorpr`rqrrrs�
evolve_fieldss&,    �r-rt� create.<locals>.Validator.evolveEsW����'�'��$�+�+�>�F�(����H�L�*7�&���+�)0��)A�G�&�+8� �*�'�*�*r/c
3	�<"�Ve\P!R\^R7MVPpVRJdR#VRJd$\P
!RV:2RRVVR7x�R#S!V4F�wr4VPPV4pVfK&V!WW4;'gRpVFIpVPVVVVVPR7VR	9dVPPV4Vx�KK	K�	R#5i)
Nz�Passing a schema to Validator.iter_errors is deprecated and will be removed in a future release. Call validator.evolve(schema=new_schema).iter_errors(...) instead.rTF�False schema does not allow �r��validator_value�instancer`�r�r�r�r`rVr:>�if�$ref)r$rr%r`r�ValidationError�
VALIDATORS�get�_set�TYPE_CHECKER�schema_path�
appendleft)	ror��_schema�k�vr��errorsr�rYs	&&&     �r-r��%create.<locals>.Validator.iter_errorsOs�����"��
�
�4�
'� �	��+�+���$����E�!� �0�0�2�8�,�?�"�$(�%�"����-�g�6��� �O�O�/�/��2�	��$��"�4�H�>�D�D�"��#�E��J�J�"#�()�!)�&�%)�%6�%6�����.��)�)�4�4�Q�7��K�$�
7�s
�BC9�!AC9c
3	��<"�VRJdR#VRJd$\P!RV:2RRVVR7x�R#VPeVPVR7pM@Vf+VPPS
P
V44pVPW%R7pS!V4F�wrxVPPV4p	V	fK&V	!WhW4;'gRp
V
F�pVPVVVVVPR7VR	9dVPPV4VeVPPV4VeVPPV4Vx�K�	K�	R#5i)
TNFr�r��r`)r`rfr�r:>r�r�)rr�rrtrf�in_subresourcer}r�r�r�r�r�r��path)ror�r`r�r�ra�evolvedr�r�r�r�r�rYr�s&&&&&&      ��r-�descend�!create.<locals>.Validator.descend}sf������~���5�� �0�0�2�8�,�?�"�$(�%�!�����!�!�-��+�+�V�+�4���#�#�~�~�<�<�%�5�5�f�=� �H��+�+�V�+�H��-�f�5���#�.�.�2�2�1�5�	��$��"�7�x�@�F�F�B��#�E��J�J�"#�()�!)�%�%,�%9�%9�����.��)�)�4�4�Q�7��'��
�
�-�-�d�3�"�.��)�)�4�4�[�A��K�$�
6�s
�CE*�BE*c	�8�VP!V/VBFpVh	R#r2)r�)ro�args�kwargsr�s&*, r-�validate�"create.<locals>.Validator.validate�s!���)�)�4�:�6�:����;r/c	��VPPW4# \Pd#\P!Y!TP
4hi;ir2)r��is_typer�UndefinedTypeCheck�UnknownTyper`)ror��types&&&r-r��!create.<locals>.Validator.is_type�sM��
J��(�(�0�0��@�@���0�0�
J� �,�,�T�T�[�[�I�I�
J�s	��7Ac	���VPfEVPPV4pTPTTPTPR7#\VPRR4pVf@VPPV4;_uu_4pVPW#4uuRRR4#V!V4wrcVPPV4\VPW#44VPP4# \PP
dp\P!T4hRp?ii;i +'giR#;i TPP4i;i)N)ra�resolve)rrf�lookuprHr�Unresolvable�_WrappedReferencingErrorr��contentsrarn�	resolvingry�list�	pop_scope)ro�refr��resolved�errr��scopes&&&    r-�_validate_reference�-create.<locals>.Validator._validate_reference�s8���!�!�)�C�#�~�~�4�4�S�9�H��|�|���%�%�%�.�.�$���"�$�"4�"4�i��F���?��+�+�5�5�c�:�:�h�#�|�|�H�?�;�:�'.�c�l�O�E��&�&�1�1�%�8�7�#�D�L�L��$D�E��*�*�4�4�6��)#�-�-�:�:�C�$�=�=�c�B�B��C��;�:�:���*�*�4�4�6�s/�D�E�E�E�&D<�<E�E	�E4c	��Ve0\P!R\^R7VPVR7p\	VPV4R4pVRJ#)Nz�Passing a schema to Validator.is_valid is deprecated and will be removed in a future release. Call validator.evolve(schema=new_schema).is_valid(...) instead.rr�)r$rr%rt�nextr�)ror�r�r�s&&& r-�is_valid�"create.<locals>.Validator.is_valid�sT���"��
�
�#�
'� �	��{�{�'�{�2����)�)�(�3�T�:�E��D�=� r/)rrfr2)NNN)%r+�
__module__�__qualname__�__firstlineno__�dictr�r4r�r��staticmethodr3�_APPLICABLE_VALIDATORSr�reprlibr_r`�__annotations__rrWrzrerfrvr��classmethodr�r��propertyrartr�r�r�r�r�r��__static_attributes__)rYr��format_checker_argrXrUr�rVr!s��������r-rr^�s����*�%�
��;�'��#��+���U�#��!6��05�7�<�<�0H��-�H��d��j�I�
�7<�T�7J��4�J�;@�,���<
�	�8�	
�
�����	
�	�	 �@
	#�
�5;�		@�
�		@�
�	&�
�	&�(	+�,	 �\2	 �2	 �h	�	J�	7�4	!�	!r/r� ��-)rHrM�specification_with�
Specification�OPAQUErrrmr,rb�title�replacer+r�r;)
rUr!r7rVrWrXrYrr�safer�r�r�s
ff&f&ff   @@@r-�creater��s���\(���*�*�=�=���%�>�>�)>��)�)�0�0�>��M�
�I!�I!�I!��I!�Z�I�&��&�E��:�:�	"����U�[�[�!�&��M����}�}��&�&�s�B�/�7�7��R�@��9=��i�6H�H�	��Y�3��g�&�y�1�	����s�>D�Dc
���\VP4pVPV4Vf
VPpVf
VPp\VPVVVVVPVPR7#)a7
Create a new validator class by extending an existing one.

Arguments:

    validator (jsonschema.protocols.Validator):

        an existing validator class

    validators (collections.abc.Mapping):

        a mapping of new validator callables to extend with, whose
        structure is as in `create`.

        .. note::

            Any validator callables with the same name as an
            existing one will (silently) replace the old validator
            callable entirely, effectively overriding any validation
            done in the "parent" validator class.

            If you wish to instead extend the behavior of a parent's
            validator callable, delegate and call it directly in
            the new validator function by retrieving it using
            ``OldValidator.VALIDATORS["validation_keyword_name"]``.

    version (str):

        a version for the new validator class

    type_checker (jsonschema.TypeChecker):

        a type checker, used when applying the :kw:`type` keyword.

        If unprovided, the type checker of the extended
        `jsonschema.protocols.Validator` will be carried along.

    format_checker (jsonschema.FormatChecker):

        a format checker, used when applying the :kw:`format` keyword.

        If unprovided, the format checker of the extended
        `jsonschema.protocols.Validator` will be carried along.

Returns:

    a new `jsonschema.protocols.Validator` class extending the one
    provided

.. note:: Meta Schemas

    The new validator class will have its parent's meta schema.

    If you wish to change or extend the meta schema in the new
    validator class, modify ``META_SCHEMA`` directly on the returned
    class. Note that no implicit copying is done, so a copy should
    likely be made before modifying it, in order to not affect the
    old validator.
)rUr!r7rVrWrXrY)	r�r��updater�r�r�r4r3r�)r�r!r7rVrW�all_validatorss&&&&& r-�extendr��sw��D�)�.�.�/�N����*�%��� �-�-����"�1�1����)�)�!��!�%��o�o�'�>�>��r/z'http://json-schema.org/draft-03/schema#r��additionalItems�additionalProperties�dependencies�disallow�divisibleBy�enum�extendsr@�maxItems�	maxLength�maximum�minItems�	minLength�minimum�pattern�patternProperties�
propertiesr��uniqueItems�draft3)rUr!rVrWr7rXrYz'http://json-schema.org/draft-04/schema#�allOf�anyOf�
maxProperties�
minProperties�
multipleOf�not�oneOf�required�draft4z'http://json-schema.org/draft-06/schema#�const�contains�exclusiveMaximum�exclusiveMinimum�
propertyNames�draft6z'http://json-schema.org/draft-07/schema#r��draft7z,https://json-schema.org/draft/2019-09/schemaz
$recursiveRef�dependentRequired�dependentSchemas�unevaluatedItems�unevaluatedPropertieszdraft2019-09)rUr!rVrWr7z,https://json-schema.org/draft/2020-12/schemaz$dynamicRef�prefixItemszdraft2020-12c�@�]tRtRtRtRt]!4RRRR3Rlt]]	PPP3Rl4t
RtR	t]R
4t]R4t]P(R4t]P(R
4tRt]R4t]R4tRtRtRtRtRtR#)r(iKa�
Resolve JSON References.

Arguments:

    base_uri (str):

        The URI of the referring document

    referrer:

        The actual referring document

    store (dict):

        A mapping from URIs to documents to cache

    cache_remote (bool):

        Whether remote refs should be cached after first resolution

    handlers (dict):

        A mapping from URI schemes to functions that should be used
        to retrieve them

    urljoin_cache (:func:`functools.lru_cache`):

        A cache that will be used for caching the results of joining
        the resolution scope to subscopes.

    remote_cache (:func:`functools.lru_cache`):

        A cache that will be used for caching the results of
        resolved remote URLs.

Attributes:

    cache_remote (bool):

        Whether remote refs should be cached after first resolution

.. deprecated:: v4.18.0

    ``RefResolver`` has been deprecated in favor of `referencing`.
a|jsonschema.RefResolver is deprecated as of v4.18.0, in favor of the https://github.com/python-jsonschema/referencing library, which provides more compliant referencing behavior as well as more flexible APIs for customization. A future release will remove RefResolver. Please file a feature request (on referencing) if you are missing an API for the kind of customization you need.TNc	�Z�Vf\R4!\4pVf\R4!VP4pW nW@n\V4VnV.Vn\P!R\P!444VnVPPR\P444VPPV4VPPRVP444W PV&W`nWpnR#)Nic3�@"�TFwrWP3x�K	R#5ir2)r�)�.0r>�eachs&  r-�	<genexpr>�(_RefResolver.__init__.<locals>.<genexpr>�s���$
�2H�Y�S�S�-�-� �2H���c3�@"�TFwrWP3x�K	R#5ir2)r4)rr�rs&  r-rr�s���
�3H�x�r�R�!�!�"�3H�rc3�z"�TF1p\V\4'gKRV9gK$VR,V3x�K3	R#5i)�$idN)�
isinstancer)rr`s& r-rr�s8���
�(���&�'�*�
$�/4���
$�V�E�]�F�#�(�s�;�;�;)rr�resolve_from_url�referrer�cache_remoter��handlers�
_scopes_stackr�URIDictr{rS�storer�r'�values�_urljoin_cache�
_remote_cache)ro�base_urirr"rr�
urljoin_cache�remote_caches&&&&&&&&r-�__init__�_RefResolver.__init__�s���� �%�d�O�G�4�M���$�T�?�4�+@�+@�A�L� �
�(���X���
�&�Z����^�^�$
�2@�2F�2F�2H�$
�
��
�	
�
�
���
�3@�3F�3F�3H�
�	
�	
�
�
���%� ��
�
���
��,�,�.�
�	
�
 (�
�
�8��+��)�r/c
�:�T!TRV!V4;'gRRV/VB#)z�
Construct a resolver from a JSON schema object.

Arguments:

    schema:

        the referring schema

Returns:

    `_RefResolver`
r&r�rr:)r5r`rXr�r�s&&&*,r-r��_RefResolver.from_schema�s*��*�4�R�E�&�M�/�/�R�R�&�R�6�R�Rr/c
�p�VPPVPVPV44R#)zf
Enter a given sub-scope.

Treats further dereferences as being performed underneath the
given scope.
N)r �appendr$�resolution_scope�ror�s&&r-ry�_RefResolver.push_scope�s.��	
���!�!����� 5� 5�u�=�	
r/c
��VPP4R# \d\P!R4hi;i)z�
Exit the most recent entered scope.

Treats further dereferences as being performed underneath the
original scope.

Don't call this method more times than `push_scope` has been
called.
znFailed to pop the scope from an empty stack. `pop_scope()` should only be called once for every `push_scope()`N)r �pop�
IndexErrorr�_RefResolutionError�ros&r-r��_RefResolver.pop_scope�s@��	����"�"�$���	��0�0�!��
�	�s	��"Ac
�(�VPR,#)z(
Retrieve the current resolution scope.
���)r r6s&r-r/�_RefResolver.resolution_scope�s��
�!�!�"�%�%r/c
�4�\VP4wrV#)z<
Retrieve the current base URI, not including any fragment.
)r
r/)ror>�_s&  r-r&�_RefResolver.base_uri�s��
�4�0�0�1����
r/c#
�"�\P!R\^R7VPV4Rx�VP	4R# TP	4i;i5i)z\
Temporarily enter the given scope for the duration of the context.

.. deprecated:: v4.0.0
zVjsonschema.RefResolver.in_scope is deprecated and will be removed in a future release.rN)r$rr%ryr�r0s&&r-�in_scope�_RefResolver.in_scope�sH���	�
�
�
+���		
�	
�����	���N�N���D�N�N��s�/A�A�A�A�Ac#
�"�VPV4wr#VPV4Vx�VP4R# TP4i;i5i)z�
Resolve the given ``ref`` and enter its resolution scope.

Exits the scope on exit of this context manager.

Arguments:

    ref (str):

        The reference to resolve
N)r�ryr�)ror��urlr�s&&  r-r��_RefResolver.resolvingsA������S�)�
�������	��N��N�N���D�N�N��s�%A�>�A�A�Ac	�0�VP4V,#r2)�_get_subschemas_cache)ro�keys&&r-�_find_in_referrer�_RefResolver._find_in_referrers���)�)�+�C�0�0r/c	��\Uu/uFq.bK	pp\VP\4Fwr4W#,P	V4K	V#uupir2)�_SUBSCHEMAS_KEYWORDS�_search_schemar�_match_subschema_keywordsr.)rorF�cache�keyword�	subschemas&    r-rE�"_RefResolver._get_subschemas_cachesT��$8�9�$8�S�b��$8��9�"0��M�M�4�#
��G�
�N�!�!�)�,�#
����:s�Ac	��VP4R,pV'gR#\V4wr4VF�pVR,p\V\4'gK$VP	VP
V4pVP
R4VP
R48XgKgV'dVPWT4pWPPV&W3u#	R#)rN�/)	rEr
rr?r$r/�rstrip�resolve_fragmentr")rorB�
subschemasr>�fragmentrOr��
target_uris&&      r-�_find_in_subschemas� _RefResolver._find_in_subschemas!s����/�/�1�%�8�
���!�#��
��#�I��5�!�B��b�#�&�&���,�,�T�-B�-B�B�G�J�� � ��%����C��8�� $� 5� 5�i� J�I�"+�
�
�3���~�%�$�r/c
��VPVPV4PR4pVPV4pVeV#W P	V43#)z
Resolve the given reference.
rR)r$r/rSrXr%)ror�rB�matchs&&  r-r��_RefResolver.resolve3sV���!�!�$�"7�"7��=�D�D�S�I���(�(��-�����L��&�&�s�+�+�+r/c
�&�\V4wrV'g
VPpVPV,pTPY24# \d?TP	T4pL0 \
dp\P!T4hRp?ii;ii;i)z
Resolve the given URL.
N)	r
r&r"�KeyError�resolve_remote�	Exceptionrr5rT)rorBrV�document�excs&&   r-r�_RefResolver.resolve_from_url?s���"�#��
����-�-�C�	:��z�z�#��H��$�$�X�8�8��
�	:�
:��.�.�s�3����
:� �4�4�S�9�9��
:��	:�s)�A�B�A&�&B�1B�B�Bc
�a�VPR4pV'gS#SVPJdVPpMV3RlpRF%pV!V4FpW%V,8XgKVuu#	K'	R	F,pV!V4FpRV,WT,8XgKVuu#	K.	V'd\V4P	R4M.pVFQpVPRR4PRR4p\
S\4'd
\V4pSV,oKS	S# \dLi;i \\3d\P!RT:24hi;i)
z�
Resolve a ``fragment`` within the referenced ``document``.

Arguments:

    document:

        The referent document

    fragment (str):

        a URI fragment to resolve within it
rRc3�N<"�\S\V44Rjx�L
R#L5ir2)rK�_match_keyword)rFras&�r-�find�+_RefResolver.resolve_fragment.<locals>.findhs����)�(�N�3�4G�H�H�H�s�%�#�%�#z~1z~0�~zUnresolvable JSON pointer: )�$anchor�$dynamicAnchor)r�r)�lstriprrGr	�splitr�rr�int�
ValueError�	TypeError�LookupErrorrr5)rorarVrgrNrO�parts�parts&f&     r-rT�_RefResolver.resolve_fragmentQsJ����?�?�3�'����O��t�}�}�$��)�)�D�
I�5�G�!�'�]�	���1�1�$�$�+�5�%�G�!�'�]�	���>�Y�%7�7�$�$�+�%�19���!�'�'��,�b���D��<�<��c�*�2�2�4��=�D��(�H�-�-���t�9�D�
�#�D�>������"������{�+�
� �4�4�1�(��>���
�s�?D�	D+�D(�'D(�+,Ec
��^RIp\V4PpW0P9dVPV,!V4pM~VR9d)V'd!VPV4P
4pMO\V4;_uu_4p\P!VP4PR44pRRR4VP'dXVPV&X# \dRpL�i;i +'giLF;i)af
Resolve a remote ``uri``.

If called directly, does not check the store first, but after
retrieving the document at the specified URI it will be saved in
the store if :attr:`cache_remote` is True.

.. note::

    If the requests_ library is present, ``jsonschema`` will use it to
    request the remote ``uri``, so that the correct encoding is
    detected and used.

    If it isn't, or if the scheme of the ``uri`` is not ``http`` or
    ``https``, UTF-8 is assumed.

Arguments:

    uri (str):

        The URI to resolve

Returns:

    The retrieved document

.. _requests: https://pypi.org/project/requests/
Nzutf-8)�http�https)
�requests�ImportErrorr�schemerr�rKr
�loads�read�decoderr")ror>ryr{�resultrBs&&    r-r_�_RefResolver.resolve_remote�s���:	���#��%�%���]�]�"��]�]�6�*�3�/�F�
�(�
(�X��\�\�#�&�+�+�-�F���������C�H�H�J�$5�$5�g�$>�?�������$�D�J�J�s�O��
��%�	��H�	����s�C&�4C9�&
C6�5C6�9D		)r%r r$rrrr"r:) r+r�r�r��__doc__r)rr)r�rHrMrNrXr�ryr�r�r/r&�
contextlib�contextmanagerr?r�rGrrErXr�rrTr_r�r:r/r-r(r(Ks��-�`	E���m�����$*�L��$�$�0�0�6�6�S��S�,	
��&�&��&�����������$������&1���������"
,�9�$4�l1r/r(c�a�V3RlpV#)c3�*<"�SV9dVx�R#R#5ir2r:��valuerNs&�r-�matcher�_match_keyword.<locals>.matcher�s�����e���K��s�r:)rNr�sf r-rfrf�s�����Nr/c#�B"�\FpW9gKW3x�K	R#5ir2)rJr�s& r-rLrL�s���'�����.� �(�s�
�c#��"�\V.4pV'dZVP4p\V\4'gK0V!V4Rjx�L
VP	VP44KaR#L'5i)zBreadth-first search routine.N)rr3rr��
extendleftr#)r`r�r#r�s&&  r-rKrK�sY���
�F�8�_�F�
��
�
����%��&�&���5�>�!�!����%�,�,�.�)��	"�s�A4�3A4�
A2�(A4c��Vf\V4pVPV4V!V.VO5/VBp\P!VP	V44pVeVhR#)a�
Validate an instance under the given schema.

    >>> validate([2, 3, 4], {"maxItems": 2})
    Traceback (most recent call last):
        ...
    ValidationError: [2, 3, 4] is too long

:func:`~jsonschema.validators.validate` will first verify that the
provided schema is itself valid, since not doing so can lead to less
obvious error messages and fail in less obvious or consistent ways.

If you know you have a valid schema already, especially
if you intend to validate multiple instances with
the same schema, you likely would prefer using the
`jsonschema.protocols.Validator.validate` method directly on a
specific validator (e.g. ``Draft202012Validator.validate``).


Arguments:

    instance:

        The instance to validate

    schema:

        The schema to validate with

    cls (jsonschema.protocols.Validator):

        The class that will be used to validate the instance.

If the ``cls`` argument is not provided, two things will happen
in accordance with the specification. First, if the schema has a
:kw:`$schema` keyword containing a known meta-schema [#]_ then the
proper validator will be used. The specification recommends that
all schemas contain :kw:`$schema` properties for this reason. If no
:kw:`$schema` property is found, the default validator class is the
latest released draft.

Any other provided positional and keyword arguments will be passed
on when instantiating the ``cls``.

Raises:

    `jsonschema.exceptions.ValidationError`:

        if the instance is invalid

    `jsonschema.exceptions.SchemaError`:

        if the schema itself is invalid

.. rubric:: Footnotes
.. [#] known by a validator registered with
    `jsonschema.validators.validates`
N)rlr�r�
best_matchr�)r�r`r5r�r�r�r�s&&&*,  r-r�r��sa��v�{��F�#�����V���F�,�T�,�V�,�I��!�!�)�"7�"7��"A�B�E�����r/c���V\Jd\MTpVRJgVRJgRV9dV#VR,\9dV\Jd\R\^R7\PVR,V4#)a
Retrieve the validator class appropriate for validating the given schema.

Uses the :kw:`$schema` keyword that should be present in the given
schema to look up the appropriate validator class.

Arguments:

    schema (collections.abc.Mapping or bool):

        the schema to look at

    default:

        the default to return if the appropriate validator class
        cannot be determined.

        If unprovided, the default is to return the latest supported
        draft.

Examples:

    The :kw:`$schema` JSON Schema keyword will control which validator
    class is returned:

    >>> schema = {
    ...     "$schema": "https://json-schema.org/draft/2020-12/schema",
    ...     "type": "integer",
    ... }
    >>> jsonschema.validators.validator_for(schema)
    <class 'jsonschema.validators.Draft202012Validator'>


    Here, a draft 7 schema instead will return the draft 7 validator:

    >>> schema = {
    ...     "$schema": "http://json-schema.org/draft-07/schema#",
    ...     "type": "integer",
    ... }
    >>> jsonschema.validators.validator_for(schema)
    <class 'jsonschema.validators.Draft7Validator'>


    Schemas with no ``$schema`` keyword will fallback to the default
    argument:

    >>> schema = {"type": "integer"}
    >>> jsonschema.validators.validator_for(
    ...     schema, default=Draft7Validator,
    ... )
    <class 'jsonschema.validators.Draft7Validator'>

    or if none is provided, to the latest version supported.
    Always including the keyword when authoring schemas is highly
    recommended.

TFz$schemaz�The metaschema specified by $schema was not found. Using the latest draft to validate, but this will raise an error in the future.r)r��_LATEST_VERSIONr'rr%r�)r`r\�DefaultValidators&& r-rlrlsr��t+2�V�*;����
��~��5��I�V�,C���
�i��
�-�'�V�2C��*�
��	
����V�I�.�0@�A�Ar/r:)r:NNN)rr�rkrlr2)��__conditional_annotations__r��
__future__r�collectionsr�collections.abcrrr�	functoolsr�operatorr�urllib.parser	r
rrrGr
r$rr�rKr��attrsrrr�jsonschema_specificationsrr{�rpdsr�referencing.exceptionsrH�referencing.jsonschemarMrrrrrrr�jsonschema.protocolsr�Unsetr�rr�r!r'r.r;rQr|�Registryrz�draft202012_type_checker�draft202012_format_checkerrNrXr�r�r�r�r�r��dependencies_draft3�disallow_draft3r�r��extends_draft3r@�items_draft3_draft4r�r��maximum_draft3_draft4r�r��minimum_draft3_draft4r�r��properties_draft3�type_draft3r��draft3_type_checker�draft3_format_checker�DRAFT3�ignore_ref_siblings�Draft3Validatorr�r��!dependencies_draft4_draft6_draft7r�r��not_rr�rr��draft4_type_checker�draft4_format_checker�DRAFT4�Draft4Validatorr�contains_draft6_draft7rr�items_draft6_draft7_draft201909r�r�r�draft6_type_checker�draft6_format_checker�DRAFT6�Draft6Validator�if_�draft7_type_checker�draft7_format_checker�DRAFT7�Draft7Validator�recursiveRefrrr�unevaluatedItems_draft2019r�draft201909_type_checker�draft201909_format_checker�Draft201909Validator�
dynamicRefrSrr
�Draft202012Validatorr�r(rJrfrLrKr�rl)r�s@r-�<module>r�s�����#��7�7��!�>�>�"������'�'�@�������+�	�����$&��
!�&���� �
�!G�H�8
�.*�1�1����";�<���	��'-�'F�'F�,3�,N�,N�&�1�1�=�=�C�C�:F��;�l�^Q�h��'�'�1����	�
�
���+�;�;��	�	� >� >��	�(�<�<�	�
	�$�4�4��	�y�+�+�
�	�	����	�#�2�2��	�)�"�"��	�!�5�5��	�I�&�&��	�Y�(�(��	�#�9�9��	�I�&�&��	�Y�(�(�� 	�#�9�9�!�"	�9�$�$�#�$	�Y�8�8��&�8�8�� �,�,��y�,�,�+�.�+�+��0�0��
�
 �
 �
'�
'�
-�
-�*�>�>�? ��D��'�'�1����	�
�
���+�;�;��	�	� >� >��	����	�
	�����	�(�J�J�
�	�	����	�)�"�"��	�!�5�5��	�I�&�&��	�Y�(�(��	��0�0��	�#�9�9��	�I�&�&��	�Y�(�(�� 	��0�0�!�"	�#�9�9�#�$	�i�*�*�
�y�~�~������9�$�$��Y�8�8��i�*�*��I�&�&��	����y�,�,�5�8�+�+��0�0��
�
 �
 �
'�
'�
-�
-�*�>�>�I%��N��'�'�1�� ��	�
�
� ��+�;�;� �	�	� >� >� �	����	 �
	���� �	����
 �	�$�;�;� �	�(�J�J� �	�	��� �	�I�6�6� �	�I�6�6� �	�)�"�"� �	�!�A�A� �	�I�&�&� �	�Y�(�(� � 	��0�0�! �"	�9�$�$�# �$	�I�&�&��Y�(�(���0�0��9�$�$��i�*�*�
�y�~�~������9�$�$��Y�8�8��i�*�*���0�0��I�&�&��	����y�,�,�? �B�+�+��0�0��
�
 �
 �
'�
'�
-�
-�*�>�>�S*��X��'�'�1��!��	�
�
�!��+�;�;�!�	�	� >� >�!�	����	!�
	����!�	����
!�	�$�;�;�!�	�(�J�J�!�	�	���!�	�I�6�6�!�	�I�6�6�!�	�)�"�"�!�	
�i�m�m�!�	�!�A�A�!�	�I�&�&�!� 	�Y�(�(�!!�"	��0�0�#!�$	�9�$�$��I�&�&��Y�(�(���0�0��9�$�$��i�*�*�
�y�~�~������9�$�$��Y�8�8��i�*�*���0�0��I�&�&��	����y�,�,�A!�D�+�+��0�0��
�
 �
 �
'�
'�
-�
-�*�>�>�U+��Z��'�'�6��%��)�6�6�%��	�
�
�%�	�+�;�;�%�	�	� >� >�	%�
	����%�	����
%�	����%�	�I�&�&�%�	�Y�8�8�%�	�I�6�6�%�	�	���%�	�I�6�6�%�	�I�6�6�%�	�)�"�"�%�	
�i�m�m�%� 	�!�A�A�!%�"	�I�&�&�#%�$	�Y�(�(�%%�&	��0�0�'%�(	�9�$�$�)%�*	�I�&�&�+%�,	�Y�(�(�-%�.	��0�0�/%�0	�9�$�$�1%�2	�i�*�*�3%�4	�y�~�~�5%�6	����7%�8	�9�$�$�9%�:	�Y�8�8�;%�<	�i�*�*�=%�>	��0�0�?%�@	�I�&�&�A%�B	�	���C%�D	�,�G�G�E%�F	 ��!@�!@��y�,�,�I%�L�0�0��5�5��Y-��^��'�'�6��%��y�+�+�%��	�
�
�%�	�	� >� >�%�	����	%�
	����%�	����
%�	�I�&�&�%�	�Y�8�8�%�	�I�6�6�%�	�	���%�	�I�6�6�%�	�I�6�6�%�	�)�"�"�%�	
�i�m�m�%�	����%� 	�I�&�&�!%�"	�Y�(�(�#%�$	��0�0�%%�&	�9�$�$�'%�(	�I�&�&�)%�*	�Y�(�(�+%�,	��0�0�-%�.	�9�$�$�/%�0	�i�*�*�1%�2	�y�~�~�3%�4	����5%�6	�9�$�$�7%�8	�Y�8�8�9%�:	�y�,�,�;%�<	�i�*�*�=%�>	��0�0�?%�@	�I�&�&�A%�B	�	���C%�D	�I�6�6�E%�F	 ��!@�!@��y�,�,�I%�L�0�0��5�5��Y-��^'��m�m�`B���!�*�B�J#)�HBr/

Youez - 2016 - github.com/yon3zu
LinuXploit