├── CHANGELOG.md ├── LICENSE ├── README.md ├── benchmarks ├── AjvSchemasBench.php └── Draft7Bench.php ├── composer.json ├── composer.lock ├── spec ├── json-schema-draft6.json ├── json-schema-draft7.json ├── json-schema.json ├── petstore-swagger.json └── swagger-schema.json └── src ├── Constraint ├── Constraint.php ├── Content.php ├── Format.php ├── Format │ ├── IdnHostname.php │ ├── Iri.php │ └── Uri.php ├── Properties.php ├── Ref.php ├── Type.php └── UniqueItems.php ├── Context.php ├── DataPreProcessor.php ├── Exception.php ├── Exception ├── ArrayException.php ├── ConstException.php ├── ContentException.php ├── EnumException.php ├── Error.php ├── LogicException.php ├── NumericException.php ├── ObjectException.php ├── StringException.php └── TypeException.php ├── HasDefault.php ├── Helper.php ├── InvalidRef.php ├── InvalidValue.php ├── JsonSchema.php ├── MagicMap.php ├── MagicMapTrait.php ├── Meta ├── AbstractMeta.php └── MetaHolder.php ├── NameMirror.php ├── Path └── PointerUtil.php ├── RefResolver.php ├── RemoteRef ├── BasicFetcher.php └── Preloaded.php ├── RemoteRefProvider.php ├── Schema.php ├── SchemaContract.php ├── SchemaExporter.php ├── Structure ├── ClassStructure.php ├── ClassStructureContract.php ├── ClassStructureTrait.php ├── Composition.php ├── Egg.php ├── Nested.php ├── ObjectItem.php ├── ObjectItemContract.php ├── ObjectItemTrait.php └── WithResolvedValue.php └── Wrapper.php /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/swaggest/php-json-schema/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/swaggest/php-json-schema/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/swaggest/php-json-schema/HEAD/README.md -------------------------------------------------------------------------------- /benchmarks/AjvSchemasBench.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/swaggest/php-json-schema/HEAD/benchmarks/AjvSchemasBench.php -------------------------------------------------------------------------------- /benchmarks/Draft7Bench.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/swaggest/php-json-schema/HEAD/benchmarks/Draft7Bench.php -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/swaggest/php-json-schema/HEAD/composer.json -------------------------------------------------------------------------------- /composer.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/swaggest/php-json-schema/HEAD/composer.lock -------------------------------------------------------------------------------- /spec/json-schema-draft6.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/swaggest/php-json-schema/HEAD/spec/json-schema-draft6.json -------------------------------------------------------------------------------- /spec/json-schema-draft7.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/swaggest/php-json-schema/HEAD/spec/json-schema-draft7.json -------------------------------------------------------------------------------- /spec/json-schema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/swaggest/php-json-schema/HEAD/spec/json-schema.json -------------------------------------------------------------------------------- /spec/petstore-swagger.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/swaggest/php-json-schema/HEAD/spec/petstore-swagger.json -------------------------------------------------------------------------------- /spec/swagger-schema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/swaggest/php-json-schema/HEAD/spec/swagger-schema.json -------------------------------------------------------------------------------- /src/Constraint/Constraint.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/swaggest/php-json-schema/HEAD/src/Constraint/Constraint.php -------------------------------------------------------------------------------- /src/Constraint/Content.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/swaggest/php-json-schema/HEAD/src/Constraint/Content.php -------------------------------------------------------------------------------- /src/Constraint/Format.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/swaggest/php-json-schema/HEAD/src/Constraint/Format.php -------------------------------------------------------------------------------- /src/Constraint/Format/IdnHostname.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/swaggest/php-json-schema/HEAD/src/Constraint/Format/IdnHostname.php -------------------------------------------------------------------------------- /src/Constraint/Format/Iri.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/swaggest/php-json-schema/HEAD/src/Constraint/Format/Iri.php -------------------------------------------------------------------------------- /src/Constraint/Format/Uri.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/swaggest/php-json-schema/HEAD/src/Constraint/Format/Uri.php -------------------------------------------------------------------------------- /src/Constraint/Properties.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/swaggest/php-json-schema/HEAD/src/Constraint/Properties.php -------------------------------------------------------------------------------- /src/Constraint/Ref.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/swaggest/php-json-schema/HEAD/src/Constraint/Ref.php -------------------------------------------------------------------------------- /src/Constraint/Type.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/swaggest/php-json-schema/HEAD/src/Constraint/Type.php -------------------------------------------------------------------------------- /src/Constraint/UniqueItems.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/swaggest/php-json-schema/HEAD/src/Constraint/UniqueItems.php -------------------------------------------------------------------------------- /src/Context.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/swaggest/php-json-schema/HEAD/src/Context.php -------------------------------------------------------------------------------- /src/DataPreProcessor.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/swaggest/php-json-schema/HEAD/src/DataPreProcessor.php -------------------------------------------------------------------------------- /src/Exception.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/swaggest/php-json-schema/HEAD/src/Exception.php -------------------------------------------------------------------------------- /src/Exception/ArrayException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/swaggest/php-json-schema/HEAD/src/Exception/ArrayException.php -------------------------------------------------------------------------------- /src/Exception/ConstException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/swaggest/php-json-schema/HEAD/src/Exception/ConstException.php -------------------------------------------------------------------------------- /src/Exception/ContentException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/swaggest/php-json-schema/HEAD/src/Exception/ContentException.php -------------------------------------------------------------------------------- /src/Exception/EnumException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/swaggest/php-json-schema/HEAD/src/Exception/EnumException.php -------------------------------------------------------------------------------- /src/Exception/Error.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/swaggest/php-json-schema/HEAD/src/Exception/Error.php -------------------------------------------------------------------------------- /src/Exception/LogicException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/swaggest/php-json-schema/HEAD/src/Exception/LogicException.php -------------------------------------------------------------------------------- /src/Exception/NumericException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/swaggest/php-json-schema/HEAD/src/Exception/NumericException.php -------------------------------------------------------------------------------- /src/Exception/ObjectException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/swaggest/php-json-schema/HEAD/src/Exception/ObjectException.php -------------------------------------------------------------------------------- /src/Exception/StringException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/swaggest/php-json-schema/HEAD/src/Exception/StringException.php -------------------------------------------------------------------------------- /src/Exception/TypeException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/swaggest/php-json-schema/HEAD/src/Exception/TypeException.php -------------------------------------------------------------------------------- /src/HasDefault.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/swaggest/php-json-schema/HEAD/src/HasDefault.php -------------------------------------------------------------------------------- /src/Helper.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/swaggest/php-json-schema/HEAD/src/Helper.php -------------------------------------------------------------------------------- /src/InvalidRef.php: -------------------------------------------------------------------------------- 1 |