repository
stringclasses
528 values
commit
stringlengths
40
40
commitDate
timestamp[s]
path
stringlengths
11
149
repoStars
int64
5
94.9k
repoLastFetched
stringclasses
528 values
content
stringlengths
48
736k
license
stringclasses
14 values
language
stringclasses
7 values
invopop/jsonschema
12cbc49539c8deac9baeae7811fdcab42fd5def0
2023-10-04T08:45:54
fixtures/required_from_jsontags.json
457
2024-05-27T06:45:28.205821Z
{ "$defs": { "Bytes": { "contentEncoding": "base64", "type": "string" }, "GrandfatherType": { "additionalProperties": false, "properties": { "family_name": { "type": "string" } }, "required": [ "family_name" ], "type": "object" }, "MapType": { "type": "object" }, "TestUser": { "additionalProperties": false, "properties": { "Baz": { "foo": [ "bar", "bar1" ], "hello": "world", "type": "string" }, "MapType": { "$ref": "#/$defs/MapType" }, "PublicNonExported": { "type": "integer" }, "SomeUntaggedBaseProperty": { "type": "boolean" }, "TestFlag": { "type": "boolean" }, "TestFlagFalse": { "default": false, "type": "boolean" }, "TestFlagTrue": { "default": true, "type": "boolean" }, "age": { "exclusiveMaximum": 121, "exclusiveMinimum": 17, "maximum": 120, "minimum": 18, "type": "integer" }, "anything": true, "birth_date": { "format": "date-time", "type": "string" }, "bool_extra": { "isFalse": false, "isTrue": true, "type": "string" }, "color": { "enum": [ "red", "green", "blue" ], "type": "string" }, "email": { "format": "email", "type": "string" }, "feeling": { "oneOf": [ { "type": "string" }, { "type": "integer" } ] }, "friends": { "description": "list of IDs, omitted when empty", "items": { "type": "integer" }, "type": "array" }, "grand": { "$ref": "#/$defs/GrandfatherType" }, "id": { "type": "integer" }, "mult": { "enum": [ 1.0, 1.5, 2.0 ], "type": "number" }, "name": { "default": "alex", "description": "this is a property", "examples": [ "joe", "lucy" ], "maxLength": 20, "minLength": 1, "pattern": ".*", "readOnly": true, "title": "the name", "type": "string" }, "network_address": { "format": "ipv4", "type": "string" }, "offsets": { "items": { "enum": [ 1.570796, 3.141592, 6.283185 ], "type": "number" }, "type": "array" }, "options": { "type": "object" }, "password": { "type": "string", "writeOnly": true }, "photo": { "contentEncoding": "base64", "type": "string" }, "photo2": { "$ref": "#/$defs/Bytes" }, "priorities": { "items": { "enum": [ -1, 0, 1 ], "type": "integer" }, "type": "array" }, "rank": { "enum": [ 1, 2, 3 ], "type": "integer" }, "raw": true, "roles": { "items": { "enum": [ "admin", "moderator", "user" ], "type": "string" }, "type": "array" }, "some_base_property": { "type": "integer" }, "tags": { "additionalProperties": { "type": "string" }, "type": "object" }, "uuid": { "format": "uuid", "type": "string" }, "website": { "format": "uri", "type": "string" } }, "required": [ "SomeUntaggedBaseProperty", "id", "name", "photo", "photo2" ], "type": "object" } }, "$id": "https://github.com/invopop/jsonschema/test-user", "$ref": "#/$defs/TestUser", "$schema": "https://json-schema.org/draft/2020-12/schema" }
MIT
en
invopop/jsonschema
6445b878e3f67752ccd7b31fc38c0842998f9f8b
2022-05-09T22:18:43
fixtures/array_type.json
457
2024-05-27T06:45:28.205821Z
{ "$defs": { "ArrayType": { "items": { "type": "string" }, "type": "array" } }, "$id": "https://github.com/invopop/jsonschema/array-type", "$ref": "#/$defs/ArrayType", "$schema": "http://json-schema.org/draft/2020-12/schema" }
MIT
en
invopop/jsonschema
83a598aac4a08e3c6edb184fd40b3c690fd3f3a7
2022-07-21T22:47:45
fixtures/custom_additional.json
457
2024-05-27T06:45:28.205821Z
{ "$defs": { "GrandfatherType": { "additionalProperties": false, "properties": { "family_name": { "type": "string" }, "ip_addr": { "format": "ipv4", "type": "string" } }, "required": [ "family_name", "ip_addr" ], "type": "object" } }, "$id": "https://github.com/invopop/jsonschema/grandfather-type", "$ref": "#/$defs/GrandfatherType", "$schema": "https://json-schema.org/draft/2020-12/schema" }
MIT
en
invopop/jsonschema
83a598aac4a08e3c6edb184fd40b3c690fd3f3a7
2022-07-21T22:47:45
fixtures/lookup.json
457
2024-05-27T06:45:28.205821Z
{ "$defs": { "LookupUser": { "additionalProperties": false, "properties": { "alias": { "type": "string" }, "name": { "$ref": "https://example.com/schemas/lookup-name" } }, "required": [ "name" ], "type": "object" } }, "$id": "https://example.com/schemas/lookup-user", "$ref": "#/$defs/LookupUser", "$schema": "https://json-schema.org/draft/2020-12/schema" }
MIT
en
invopop/jsonschema
3330865a0c6b1813bd90bd6255752e15bba096fe
2022-02-15T00:08:52
fixtures/custom_additional.json
457
2024-05-27T06:45:28.205821Z
{ "$defs": { "GrandfatherType": { "additionalProperties": false, "properties": { "family_name": { "type": "string" }, "ip_addr": { "format": "ipv4", "type": "string" } }, "required": [ "family_name", "ip_addr" ], "type": "object" } }, "$id": "https://github.com/invopop/jsonschema/grandfather-type", "$ref": "#/$defs/GrandfatherType", "$schema": "http://json-schema.org/draft/2020-12/schema" }
MIT
en
invopop/jsonschema
0366d1034a17e261f9c87cefd7adeafcfae86822
2020-05-14T01:46:46
fixtures/required_from_jsontags.json
457
2024-05-27T06:45:28.205821Z
{ "$ref": "#/definitions/TestUser", "$schema": "http://json-schema.org/draft-04/schema#", "definitions": { "GrandfatherType": { "additionalProperties": false, "properties": { "family_name": { "type": "string" } }, "required": [ "family_name" ], "type": "object" }, "TestUser": { "additionalProperties": false, "properties": { "Baz": { "foo": [ "bar", "bar1" ], "hello": "world", "type": "string" }, "PublicNonExported": { "type": "integer" }, "SomeUntaggedBaseProperty": { "type": "boolean" }, "TestFlag": { "type": "boolean" }, "age": { "exclusiveMaximum": true, "exclusiveMinimum": true, "maximum": 120, "minimum": 18, "type": "integer" }, "birth_date": { "format": "date-time", "type": "string" }, "color": { "enum": [ "red", "green", "blue" ], "type": "string" }, "email": { "format": "email", "type": "string" }, "feeling": { "oneOf": [ { "type": "string" }, { "type": "integer" } ] }, "friends": { "description": "list of IDs, omitted when empty", "items": { "type": "integer" }, "type": "array" }, "grand": { "$ref": "#/definitions/GrandfatherType", "$schema": "http://json-schema.org/draft-04/schema#" }, "id": { "type": "integer" }, "mult": { "enum": [ 1, 1.5, 2 ], "type": "number" }, "name": { "default": "alex", "description": "this is a property", "examples": [ "joe", "lucy" ], "maxLength": 20, "minLength": 1, "pattern": ".*", "title": "the name", "type": "string" }, "network_address": { "format": "ipv4", "type": "string" }, "photo": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "rank": { "enum": [ 1, 2, 3 ], "type": "integer" }, "some_base_property": { "type": "integer" }, "some_base_property_yaml": { "type": "integer" }, "tags": { "patternProperties": { ".*": { "additionalProperties": true } }, "type": "object" }, "website": { "format": "uri", "type": "string" } }, "required": [ "SomeUntaggedBaseProperty", "id", "name", "photo" ], "type": "object" } } }
MIT
en
invopop/jsonschema
bf1cc2205dbf67d8a5a4b8a719ce16a3dfcb547c
2019-01-19T22:13:38
fixtures/allow_additional_props.json
457
2024-05-27T06:45:28.205821Z
{ "$ref": "#/definitions/TestUser", "$schema": "http://json-schema.org/draft-04/schema#", "definitions": { "GrandfatherType": { "additionalProperties": true, "properties": { "family_name": { "type": "string" } }, "required": [ "family_name" ], "type": "object" }, "TestUser": { "additionalProperties": true, "properties": { "SomeUntaggedBaseProperty": { "type": "boolean" }, "TestFlag": { "type": "boolean" }, "age": { "exclusiveMaximum": true, "exclusiveMinimum": true, "maximum": 120, "minimum": 18, "type": "integer" }, "birth_date": { "format": "date-time", "type": "string" }, "email": { "format": "email", "type": "string" }, "feeling": { "oneOf": [ { "type": "string" }, { "type": "integer" } ] }, "friends": { "items": { "type": "integer" }, "type": "array" }, "grand": { "$ref": "#/definitions/GrandfatherType", "$schema": "http://json-schema.org/draft-04/schema#" }, "id": { "type": "integer" }, "name": { "maxLength": 20, "minLength": 1, "type": "string" }, "network_address": { "format": "ipv4", "type": "string" }, "photo": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "some_base_property": { "type": "integer" }, "some_base_property_yaml": { "type": "integer" }, "tags": { "patternProperties": { ".*": { "additionalProperties": true, "type": "object" } }, "type": "object" }, "website": { "format": "uri", "type": "string" } }, "required": [ "some_base_property", "some_base_property_yaml", "grand", "SomeUntaggedBaseProperty", "id", "name", "TestFlag", "age", "email" ], "type": "object" } } }
MIT
en
invopop/jsonschema
3330865a0c6b1813bd90bd6255752e15bba096fe
2022-02-15T00:08:52
fixtures/oneof.json
457
2024-05-27T06:45:28.205821Z
{ "$defs": { "ChildOneOf": { "additionalProperties": false, "oneOf": [ { "required": [ "child1", "child4" ], "title": "group1" }, { "required": [ "child2", "child3" ], "title": "group2" } ], "properties": { "child1": { "type": "string" }, "child2": { "type": "string" }, "child3": { "oneOf": [ { "type": "string" }, { "type": "array" } ] }, "child4": { "type": "string" } }, "type": "object" }, "RootOneOf": { "additionalProperties": false, "oneOf": [ { "required": [ "field1", "field4" ], "title": "group1" }, { "required": [ "field2" ], "title": "group2" } ], "properties": { "child": { "$ref": "#/$defs/ChildOneOf" }, "field1": { "type": "string" }, "field2": { "type": "string" }, "field3": { "oneOf": [ { "type": "string" }, { "type": "array" } ] }, "field4": { "type": "string" } }, "type": "object" } }, "$id": "https://github.com/invopop/jsonschema/root-one-of", "$ref": "#/$defs/RootOneOf", "$schema": "http://json-schema.org/draft/2020-12/schema" }
MIT
en
invopop/jsonschema
fbc1a8a523cdad28ed2301886471c0b3eff2490f
2022-02-03T02:25:44
fixtures/required_from_jsontags.json
457
2024-05-27T06:45:28.205821Z
{ "$ref": "#/definitions/TestUser", "$schema": "http://json-schema.org/draft-04/schema#", "definitions": { "GrandfatherType": { "additionalProperties": false, "properties": { "family_name": { "type": "string" } }, "required": [ "family_name" ], "type": "object" }, "TestUser": { "additionalProperties": false, "properties": { "Baz": { "foo": [ "bar", "bar1" ], "hello": "world", "type": "string" }, "PublicNonExported": { "type": "integer" }, "SomeUntaggedBaseProperty": { "type": "boolean" }, "TestFlag": { "type": "boolean" }, "age": { "exclusiveMaximum": true, "exclusiveMinimum": true, "maximum": 120, "minimum": 18, "type": "integer" }, "birth_date": { "format": "date-time", "type": "string" }, "color": { "enum": [ "red", "green", "blue" ], "type": "string" }, "email": { "format": "email", "type": "string" }, "feeling": { "oneOf": [ { "type": "string" }, { "type": "integer" } ] }, "friends": { "description": "list of IDs, omitted when empty", "items": { "type": "integer" }, "type": "array" }, "grand": { "$ref": "#/definitions/GrandfatherType", "$schema": "http://json-schema.org/draft-04/schema#" }, "id": { "type": "integer" }, "mult": { "enum": [ 1, 1.5, 2 ], "type": "number" }, "name": { "default": "alex", "description": "this is a property", "examples": [ "joe", "lucy" ], "maxLength": 20, "minLength": 1, "pattern": ".*", "readOnly": true, "title": "the name", "type": "string" }, "network_address": { "format": "ipv4", "type": "string" }, "offsets": { "items": { "enum": [ 1.570796, 3.141592, 6.283185 ], "type": "number" }, "type": "array" }, "password": { "type": "string", "writeOnly": true }, "photo": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "photo2": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "priorities": { "items": { "enum": [ -1, 0, 1 ], "type": "integer" }, "type": "array" }, "rank": { "enum": [ 1, 2, 3 ], "type": "integer" }, "raw": { "additionalProperties": true }, "roles": { "items": { "enum": [ "admin", "moderator", "user" ], "type": "string" }, "type": "array" }, "some_base_property": { "type": "integer" }, "some_base_property_yaml": { "type": "integer" }, "tags": { "patternProperties": { ".*": { "additionalProperties": true } }, "type": "object" }, "website": { "format": "uri", "type": "string" } }, "required": [ "SomeUntaggedBaseProperty", "id", "name", "photo", "photo2" ], "type": "object" } } }
MIT
en
invopop/jsonschema
83a598aac4a08e3c6edb184fd40b3c690fd3f3a7
2022-07-21T22:47:45
fixtures/nullable.json
457
2024-05-27T06:45:28.205821Z
{ "$defs": { "TestNullable": { "additionalProperties": false, "properties": { "child1": { "oneOf": [ { "type": "string" }, { "type": "null" } ] } }, "required": [ "child1" ], "type": "object" } }, "$id": "https://github.com/invopop/jsonschema/test-nullable", "$ref": "#/$defs/TestNullable", "$schema": "https://json-schema.org/draft/2020-12/schema" }
MIT
en
invopop/jsonschema
dd4542c1f589919d56bc23ea64483c8458c19a92
2020-01-27T22:23:24
fixtures/allow_additional_props.json
457
2024-05-27T06:45:28.205821Z
{ "$ref": "#/definitions/TestUser", "$schema": "http://json-schema.org/draft-04/schema#", "definitions": { "GrandfatherType": { "additionalProperties": true, "properties": { "family_name": { "type": "string" } }, "required": [ "family_name" ], "type": "object" }, "TestUser": { "additionalProperties": true, "properties": { "Baz": { "foo": "bar", "hello": "world", "type": "string" }, "PublicNonExported": { "type": "integer" }, "SomeUntaggedBaseProperty": { "type": "boolean" }, "TestFlag": { "type": "boolean" }, "age": { "exclusiveMaximum": true, "exclusiveMinimum": true, "maximum": 120, "minimum": 18, "type": "integer" }, "birth_date": { "format": "date-time", "type": "string" }, "email": { "format": "email", "type": "string" }, "feeling": { "oneOf": [ { "type": "string" }, { "type": "integer" } ] }, "friends": { "description": "list of IDs, omitted when empty", "items": { "type": "integer" }, "type": "array" }, "grand": { "$ref": "#/definitions/GrandfatherType", "$schema": "http://json-schema.org/draft-04/schema#" }, "id": { "type": "integer" }, "name": { "default": "alex", "description": "this is a property", "examples": [ "joe", "lucy" ], "maxLength": 20, "minLength": 1, "pattern": ".*", "title": "the name", "type": "string" }, "network_address": { "format": "ipv4", "type": "string" }, "photo": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "some_base_property": { "type": "integer" }, "some_base_property_yaml": { "type": "integer" }, "tags": { "patternProperties": { ".*": { "additionalProperties": true, "type": "object" } }, "type": "object" }, "website": { "format": "uri", "type": "string" } }, "required": [ "some_base_property", "some_base_property_yaml", "grand", "SomeUntaggedBaseProperty", "PublicNonExported", "id", "name", "TestFlag", "age", "email", "Baz" ], "type": "object" } } }
MIT
en
invopop/jsonschema
fd8d96416671e33ef79358139312e88557a8aaab
2019-05-30T23:57:21
fixtures/ignore_type.json
457
2024-05-27T06:45:28.205821Z
{ "$ref": "#/definitions/TestUser", "$schema": "http://json-schema.org/draft-04/schema#", "definitions": { "GrandfatherType": { "additionalProperties": true, "properties": {}, "type": "object" }, "TestUser": { "additionalProperties": false, "properties": { "PublicNonExported": { "type": "integer" }, "SomeUntaggedBaseProperty": { "type": "boolean" }, "TestFlag": { "type": "boolean" }, "age": { "exclusiveMaximum": true, "exclusiveMinimum": true, "maximum": 120, "minimum": 18, "type": "integer" }, "birth_date": { "format": "date-time", "type": "string" }, "email": { "format": "email", "type": "string" }, "feeling": { "oneOf": [ { "type": "string" }, { "type": "integer" } ] }, "friends": { "description": "list of IDs, omitted when empty", "items": { "type": "integer" }, "type": "array" }, "grand": { "$ref": "#/definitions/GrandfatherType", "$schema": "http://json-schema.org/draft-04/schema#" }, "id": { "type": "integer" }, "name": { "default": "alex", "description": "this is a property", "examples": [ "joe", "lucy" ], "maxLength": 20, "minLength": 1, "pattern": ".*", "title": "the name", "type": "string" }, "network_address": { "format": "ipv4", "type": "string" }, "photo": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "some_base_property": { "type": "integer" }, "some_base_property_yaml": { "type": "integer" }, "tags": { "patternProperties": { ".*": { "additionalProperties": true, "type": "object" } }, "type": "object" }, "website": { "format": "uri", "type": "string" } }, "required": [ "some_base_property", "some_base_property_yaml", "grand", "SomeUntaggedBaseProperty", "PublicNonExported", "id", "name", "TestFlag", "age", "email" ], "type": "object" } } }
MIT
en
invopop/jsonschema
83a598aac4a08e3c6edb184fd40b3c690fd3f3a7
2022-07-21T22:47:45
fixtures/go_comments.json
457
2024-05-27T06:45:28.205821Z
{ "$defs": { "NamedPets": { "description": "NamedPets is a map of animal names to pets.", "patternProperties": { ".*": { "$ref": "#/$defs/Pet" } }, "type": "object" }, "Pet": { "additionalProperties": false, "description": "Pet defines the user's fury friend.", "properties": { "name": { "description": "Name of the animal.", "title": "Name", "type": "string" } }, "required": [ "name" ], "type": "object" }, "Pets": { "description": "Pets is a collection of Pet objects.", "items": { "$ref": "#/$defs/Pet" }, "type": "array" }, "Plant": { "additionalProperties": false, "description": "Plant represents the plants the user might have and serves as a test of structs inside a `type` set.", "properties": { "variant": { "title": "Variant", "type": "string" } }, "required": [ "variant" ], "type": "object" }, "User": { "additionalProperties": false, "description": "User is used as a base to provide tests for comments.", "properties": { "friends": { "description": "list of IDs, omitted when empty", "items": { "type": "integer" }, "type": "array" }, "id": { "description": "Unique sequential identifier.", "type": "integer" }, "name": { "default": "alex", "description": "this is a property", "examples": [ "joe", "lucy" ], "maxLength": 20, "minLength": 1, "pattern": ".*", "title": "the name", "type": "string" }, "named_pets": { "$ref": "#/$defs/NamedPets", "description": "Set of animal names to pets" }, "pets": { "$ref": "#/$defs/Pets", "description": "An array of pets the user cares for." }, "plants": { "description": "Set of plants that the user likes", "items": { "$ref": "#/$defs/Plant" }, "title": "Plants", "type": "array" }, "tags": { "type": "object" } }, "required": [ "id", "name", "pets", "named_pets", "plants" ], "type": "object" } }, "$id": "https://github.com/invopop/jsonschema/examples/user", "$ref": "#/$defs/User", "$schema": "https://json-schema.org/draft/2020-12/schema" }
MIT
en
invopop/jsonschema
0366d1034a17e261f9c87cefd7adeafcfae86822
2020-05-14T01:46:46
fixtures/allow_additional_props.json
457
2024-05-27T06:45:28.205821Z
{ "$ref": "#/definitions/TestUser", "$schema": "http://json-schema.org/draft-04/schema#", "definitions": { "GrandfatherType": { "additionalProperties": true, "properties": { "family_name": { "type": "string" } }, "required": [ "family_name" ], "type": "object" }, "TestUser": { "additionalProperties": true, "properties": { "Baz": { "foo": [ "bar", "bar1" ], "hello": "world", "type": "string" }, "PublicNonExported": { "type": "integer" }, "SomeUntaggedBaseProperty": { "type": "boolean" }, "TestFlag": { "type": "boolean" }, "age": { "exclusiveMaximum": true, "exclusiveMinimum": true, "maximum": 120, "minimum": 18, "type": "integer" }, "birth_date": { "format": "date-time", "type": "string" }, "color": { "enum": [ "red", "green", "blue" ], "type": "string" }, "email": { "format": "email", "type": "string" }, "feeling": { "oneOf": [ { "type": "string" }, { "type": "integer" } ] }, "friends": { "description": "list of IDs, omitted when empty", "items": { "type": "integer" }, "type": "array" }, "grand": { "$ref": "#/definitions/GrandfatherType", "$schema": "http://json-schema.org/draft-04/schema#" }, "id": { "type": "integer" }, "mult": { "enum": [ 1, 1.5, 2 ], "type": "number" }, "name": { "default": "alex", "description": "this is a property", "examples": [ "joe", "lucy" ], "maxLength": 20, "minLength": 1, "pattern": ".*", "title": "the name", "type": "string" }, "network_address": { "format": "ipv4", "type": "string" }, "photo": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "rank": { "enum": [ 1, 2, 3 ], "type": "integer" }, "some_base_property": { "type": "integer" }, "some_base_property_yaml": { "type": "integer" }, "tags": { "patternProperties": { ".*": { "additionalProperties": true } }, "type": "object" }, "website": { "format": "uri", "type": "string" } }, "required": [ "some_base_property", "some_base_property_yaml", "grand", "SomeUntaggedBaseProperty", "PublicNonExported", "id", "name", "TestFlag", "age", "email", "Baz", "color" ], "type": "object" } } }
MIT
en
invopop/jsonschema
ff478ddccd9932860e1ae84649493244b02fb98f
2022-02-25T17:14:22
fixtures/recursive.json
457
2024-05-27T06:45:28.205821Z
{ "$defs": { "RecursiveExample": { "additionalProperties": false, "properties": { "children": { "items": { "$ref": "#/$defs/RecursiveExample" }, "type": "array" }, "text": { "type": "string" } }, "required": [ "text" ], "type": "object" } }, "$id": "https://github.com/invopop/jsonschema/recursive-example", "$ref": "#/$defs/RecursiveExample", "$schema": "http://json-schema.org/draft/2020-12/schema" }
MIT
en
invopop/jsonschema
83a598aac4a08e3c6edb184fd40b3c690fd3f3a7
2022-07-21T22:47:45
fixtures/inlining_inheritance.json
457
2024-05-27T06:45:28.205821Z
{ "$id": "https://github.com/invopop/jsonschema/outer", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": { "Foo": { "type": "string" }, "Text": { "type": "string" }, "TextNamed": { "type": "string" } }, "required": [ "TextNamed", "Foo" ], "type": "object" }
MIT
en
invopop/jsonschema
fa819247876e6b20293e57d3eb98afed476e5a43
2022-05-09T22:09:34
fixtures/inlining_embedded.json
457
2024-05-27T06:45:28.205821Z
{ "$defs": { "Inner": { "additionalProperties": false, "properties": { "Foo": { "type": "string" } }, "required": [ "Foo" ], "type": "object" } }, "$id": "https://github.com/invopop/jsonschema/outer-named", "$schema": "http://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": { "inner": { "$ref": "#/$defs/Inner" }, "text": { "type": "string" } }, "required": [ "inner" ], "type": "object" }
MIT
en
invopop/jsonschema
9c0d982c4f4f62a967bdb8c1737b7c9bc79db759
2023-09-26T17:14:40
fixtures/array_handling.json
457
2024-05-27T06:45:28.205821Z
{ "$defs": { "ArrayHandler": { "additionalProperties": false, "properties": { "min_len": { "default": [ "qwerty" ], "items": { "minLength": 2, "type": "string" }, "type": "array" }, "min_val": { "items": { "minimum": 2.5, "type": "number" }, "type": "array" } }, "required": [ "min_len", "min_val" ], "type": "object" } }, "$id": "https://github.com/invopop/jsonschema/array-handler", "$ref": "#/$defs/ArrayHandler", "$schema": "https://json-schema.org/draft/2020-12/schema" }
MIT
en
invopop/jsonschema
83a598aac4a08e3c6edb184fd40b3c690fd3f3a7
2022-07-21T22:47:45
fixtures/custom_map_type.json
457
2024-05-27T06:45:28.205821Z
{ "$defs": { "CustomMapOuter": { "additionalProperties": false, "properties": { "my_map": { "$ref": "#/$defs/CustomMapType" } }, "required": [ "my_map" ], "type": "object" }, "CustomMapType": { "items": { "properties": { "key": { "type": "string" }, "value": { "type": "string" } }, "required": [ "key", "value" ], "type": "object" }, "type": "array" } }, "$id": "https://github.com/invopop/jsonschema/custom-map-outer", "$ref": "#/$defs/CustomMapOuter", "$schema": "https://json-schema.org/draft/2020-12/schema" }
MIT
en
invopop/jsonschema
83a598aac4a08e3c6edb184fd40b3c690fd3f3a7
2022-07-21T22:47:45
fixtures/custom_type.json
457
2024-05-27T06:45:28.205821Z
{ "$defs": { "CustomTypeField": { "additionalProperties": false, "properties": { "CreatedAt": { "format": "date-time", "type": "string" } }, "required": [ "CreatedAt" ], "type": "object" } }, "$id": "https://github.com/invopop/jsonschema/custom-type-field", "$ref": "#/$defs/CustomTypeField", "$schema": "https://json-schema.org/draft/2020-12/schema" }
MIT
en
invopop/jsonschema
b0206aa42ef7921e95277fe9f3dc01e1807e0b86
2023-09-25T06:41:32
fixtures/test_user.json
457
2024-05-27T06:45:28.205821Z
{ "$defs": { "Bytes": { "contentEncoding": "base64", "type": "string" }, "GrandfatherType": { "additionalProperties": false, "properties": { "family_name": { "type": "string" } }, "required": [ "family_name" ], "type": "object" }, "MapType": { "type": "object" }, "TestUser": { "additionalProperties": false, "properties": { "Baz": { "foo": [ "bar", "bar1" ], "hello": "world", "type": "string" }, "MapType": { "$ref": "#/$defs/MapType" }, "PublicNonExported": { "type": "integer" }, "SomeUntaggedBaseProperty": { "type": "boolean" }, "TestFlag": { "type": "boolean" }, "TestFlagFalse": { "default": false, "type": "boolean" }, "TestFlagTrue": { "default": true, "type": "boolean" }, "age": { "exclusiveMaximum": 121, "exclusiveMinimum": 17, "maximum": 120, "minimum": 18, "type": "integer" }, "anything": true, "birth_date": { "format": "date-time", "type": "string" }, "bool_extra": { "isFalse": false, "isTrue": true, "type": "string" }, "color": { "enum": [ "red", "green", "blue" ], "type": "string" }, "email": { "format": "email", "type": "string" }, "feeling": { "oneOf": [ { "type": "string" }, { "type": "integer" } ] }, "friends": { "description": "list of IDs, omitted when empty", "items": { "type": "integer" }, "type": "array" }, "grand": { "$ref": "#/$defs/GrandfatherType" }, "id": { "type": "integer" }, "mult": { "enum": [ 1, 1.5, 2 ], "type": "number" }, "name": { "default": "alex", "description": "this is a property", "examples": [ "joe", "lucy" ], "maxLength": 20, "minLength": 1, "pattern": ".*", "readOnly": true, "title": "the name", "type": "string" }, "network_address": { "format": "ipv4", "type": "string" }, "offsets": { "items": { "enum": [ 1.570796, 3.141592, 6.283185 ], "type": "number" }, "type": "array" }, "options": { "type": "object" }, "password": { "type": "string", "writeOnly": true }, "photo": { "contentEncoding": "base64", "type": "string" }, "photo2": { "$ref": "#/$defs/Bytes" }, "priorities": { "items": { "enum": [ -1, 0, 1 ], "type": "integer" }, "type": "array" }, "rank": { "enum": [ 1, 2, 3 ], "type": "integer" }, "raw": true, "roles": { "items": { "enum": [ "admin", "moderator", "user" ], "type": "string" }, "type": "array" }, "some_base_property": { "type": "integer" }, "tags": { "additionalProperties": { "type": "string" }, "type": "object" }, "uuid": { "format": "uuid", "type": "string" }, "website": { "format": "uri", "type": "string" } }, "required": [ "id", "some_base_property", "grand", "SomeUntaggedBaseProperty", "PublicNonExported", "MapType", "name", "password", "TestFlag", "photo", "photo2", "age", "email", "uuid", "Baz", "color", "roles", "raw" ], "type": "object" } }, "$id": "https://github.com/invopop/jsonschema/test-user", "$ref": "#/$defs/TestUser", "$schema": "https://json-schema.org/draft/2020-12/schema" }
MIT
en
invopop/jsonschema
3330865a0c6b1813bd90bd6255752e15bba096fe
2022-02-15T00:08:52
fixtures/compact_date.json
457
2024-05-27T06:45:28.205821Z
{ "$defs": { "CompactDate": { "description": "Short date that only includes year and month", "pattern": "^[0-9]{4}-[0-1][0-9]$", "title": "Compact Date", "type": "string" } }, "$id": "https://github.com/invopop/jsonschema/compact-date", "$ref": "#/$defs/CompactDate", "$schema": "http://json-schema.org/draft/2020-12/schema" }
MIT
en
invopop/jsonschema
1014919a589cb62aa9287aebd5a841726661e3ed
2021-08-18T09:53:45
fixtures/allow_additional_props.json
457
2024-05-27T06:45:28.205821Z
{ "$ref": "#/definitions/TestUser", "$schema": "http://json-schema.org/draft-04/schema#", "definitions": { "GrandfatherType": { "additionalProperties": true, "properties": { "family_name": { "type": "string" } }, "required": [ "family_name" ], "type": "object" }, "TestUser": { "additionalProperties": true, "properties": { "Baz": { "foo": [ "bar", "bar1" ], "hello": "world", "type": "string" }, "PublicNonExported": { "type": "integer" }, "SomeUntaggedBaseProperty": { "type": "boolean" }, "TestFlag": { "type": "boolean" }, "age": { "exclusiveMaximum": true, "exclusiveMinimum": true, "maximum": 120, "minimum": 18, "type": "integer" }, "birth_date": { "format": "date-time", "type": "string" }, "color": { "enum": [ "red", "green", "blue" ], "type": "string" }, "email": { "format": "email", "type": "string" }, "feeling": { "oneOf": [ { "type": "string" }, { "type": "integer" } ] }, "friends": { "description": "list of IDs, omitted when empty", "items": { "type": "integer" }, "type": "array" }, "grand": { "$ref": "#/definitions/GrandfatherType", "$schema": "http://json-schema.org/draft-04/schema#" }, "id": { "type": "integer" }, "mult": { "enum": [ 1, 1.5, 2 ], "type": "number" }, "name": { "default": "alex", "description": "this is a property", "examples": [ "joe", "lucy" ], "maxLength": 20, "minLength": 1, "pattern": ".*", "title": "the name", "type": "string" }, "network_address": { "format": "ipv4", "type": "string" }, "offsets": { "items": { "enum": [ 1.570796, 3.141592, 6.283185 ], "type": "number" }, "type": "array" }, "photo": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "photo2": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "priorities": { "items": { "enum": [ -1, 0, 1 ], "type": "integer" }, "type": "array" }, "rank": { "enum": [ 1, 2, 3 ], "type": "integer" }, "roles": { "items": { "enum": [ "admin", "moderator", "user" ], "type": "string" }, "type": "array" }, "some_base_property": { "type": "integer" }, "some_base_property_yaml": { "type": "integer" }, "tags": { "patternProperties": { ".*": { "additionalProperties": true } }, "type": "object" }, "website": { "format": "uri", "type": "string" } }, "required": [ "some_base_property", "some_base_property_yaml", "grand", "SomeUntaggedBaseProperty", "PublicNonExported", "id", "name", "TestFlag", "age", "email", "Baz", "color", "roles" ], "type": "object" } } }
MIT
en
invopop/jsonschema
83a598aac4a08e3c6edb184fd40b3c690fd3f3a7
2022-07-21T22:47:45
fixtures/keynamed.json
457
2024-05-27T06:45:28.205821Z
{ "$defs": { "KeyNamed": { "additionalProperties": false, "properties": { "20.01": { "description": "Description was preserved", "type": "integer" }, "ThisWasLeftAsIs": { "type": "string" }, "coming_from_json_tag": { "type": "boolean" }, "nested_not_renamed": { "$ref": "#/$defs/KeyNamedNested" }, "\u2728unicode\u2728 s\u0338\u035d\u0325h\u0337\u0352\u0333e\u0334\u033d\u031cn\u0338\u033f\u0321a\u0337\u0314\u0318n\u0337\u0350\u0318i\u0336\u0310\u032bg\u0336\u0341\u032fa\u0335\u0352\u0318n\u0337\u033e\u032es\u0338\u0343\u031f": { "type": "string" } }, "required": [ "ThisWasLeftAsIs", "coming_from_json_tag", "nested_not_renamed", "\u2728unicode\u2728 s\u0338\u035d\u0325h\u0337\u0352\u0333e\u0334\u033d\u031cn\u0338\u033f\u0321a\u0337\u0314\u0318n\u0337\u0350\u0318i\u0336\u0310\u032bg\u0336\u0341\u032fa\u0335\u0352\u0318n\u0337\u033e\u032es\u0338\u0343\u031f", "20.01" ], "type": "object" }, "KeyNamedNested": { "additionalProperties": false, "properties": { "NotRenamed": { "type": "string" }, "nested-renamed-property": { "type": "string" } }, "required": [ "nested-renamed-property", "NotRenamed" ], "type": "object" } }, "$id": "https://github.com/invopop/jsonschema/key-named", "$ref": "#/$defs/KeyNamed", "$schema": "https://json-schema.org/draft/2020-12/schema" }
MIT
en
invopop/jsonschema
d10980697d18987570e0a5630916ec55224a905b
2023-10-02T08:47:22
fixtures/unsigned_int_handling.json
457
2024-05-27T06:45:28.205821Z
{ "$defs": { "UnsignedIntHandler": { "additionalProperties": false, "properties": { "max_items": { "items": { "type": "string" }, "maxItems": 0, "type": "array" }, "max_len": { "items": { "maxLength": 0, "type": "string" }, "type": "array" }, "min_items": { "items": { "type": "string" }, "minItems": 0, "type": "array" }, "min_len": { "items": { "minLength": 0, "type": "string" }, "type": "array" } }, "required": [ "min_len", "max_len", "min_items", "max_items" ], "type": "object" } }, "$id": "https://github.com/invopop/jsonschema/unsigned-int-handler", "$ref": "#/$defs/UnsignedIntHandler", "$schema": "https://json-schema.org/draft/2020-12/schema" }
MIT
en
invopop/jsonschema
fbc1a8a523cdad28ed2301886471c0b3eff2490f
2022-02-03T02:25:44
fixtures/ignore_type.json
457
2024-05-27T06:45:28.205821Z
{ "$ref": "#/definitions/TestUser", "$schema": "http://json-schema.org/draft-04/schema#", "definitions": { "GrandfatherType": { "additionalProperties": true, "properties": {}, "type": "object" }, "TestUser": { "additionalProperties": false, "properties": { "Baz": { "foo": [ "bar", "bar1" ], "hello": "world", "type": "string" }, "PublicNonExported": { "type": "integer" }, "SomeUntaggedBaseProperty": { "type": "boolean" }, "TestFlag": { "type": "boolean" }, "age": { "exclusiveMaximum": true, "exclusiveMinimum": true, "maximum": 120, "minimum": 18, "type": "integer" }, "birth_date": { "format": "date-time", "type": "string" }, "color": { "enum": [ "red", "green", "blue" ], "type": "string" }, "email": { "format": "email", "type": "string" }, "feeling": { "oneOf": [ { "type": "string" }, { "type": "integer" } ] }, "friends": { "description": "list of IDs, omitted when empty", "items": { "type": "integer" }, "type": "array" }, "grand": { "$ref": "#/definitions/GrandfatherType", "$schema": "http://json-schema.org/draft-04/schema#" }, "id": { "type": "integer" }, "mult": { "enum": [ 1, 1.5, 2 ], "type": "number" }, "name": { "default": "alex", "description": "this is a property", "examples": [ "joe", "lucy" ], "maxLength": 20, "minLength": 1, "pattern": ".*", "readOnly": true, "title": "the name", "type": "string" }, "network_address": { "format": "ipv4", "type": "string" }, "offsets": { "items": { "enum": [ 1.570796, 3.141592, 6.283185 ], "type": "number" }, "type": "array" }, "password": { "type": "string", "writeOnly": true }, "photo": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "photo2": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "priorities": { "items": { "enum": [ -1, 0, 1 ], "type": "integer" }, "type": "array" }, "rank": { "enum": [ 1, 2, 3 ], "type": "integer" }, "raw": { "additionalProperties": true }, "roles": { "items": { "enum": [ "admin", "moderator", "user" ], "type": "string" }, "type": "array" }, "some_base_property": { "type": "integer" }, "some_base_property_yaml": { "type": "integer" }, "tags": { "patternProperties": { ".*": { "additionalProperties": true } }, "type": "object" }, "website": { "format": "uri", "type": "string" } }, "required": [ "some_base_property", "some_base_property_yaml", "grand", "SomeUntaggedBaseProperty", "PublicNonExported", "id", "name", "password", "TestFlag", "age", "email", "Baz", "color", "roles", "raw" ], "type": "object" } } }
MIT
en
invopop/jsonschema
e803ab25037d05b814b4b8ae313762cc1c75be79
2020-01-29T02:05:56
fixtures/required_from_jsontags.json
457
2024-05-27T06:45:28.205821Z
{ "$ref": "#/definitions/TestUser", "$schema": "http://json-schema.org/draft-04/schema#", "definitions": { "GrandfatherType": { "additionalProperties": false, "properties": { "family_name": { "type": "string" } }, "required": [ "family_name" ], "type": "object" }, "TestUser": { "additionalProperties": false, "properties": { "Baz": { "foo": "bar", "hello": "world", "type": "string" }, "PublicNonExported": { "type": "integer" }, "SomeUntaggedBaseProperty": { "type": "boolean" }, "TestFlag": { "type": "boolean" }, "age": { "exclusiveMaximum": true, "exclusiveMinimum": true, "maximum": 120, "minimum": 18, "type": "integer" }, "birth_date": { "format": "date-time", "type": "string" }, "color": { "enum": [ "red", "green", "blue" ], "type": "string" }, "email": { "format": "email", "type": "string" }, "feeling": { "oneOf": [ { "type": "string" }, { "type": "integer" } ] }, "friends": { "description": "list of IDs, omitted when empty", "items": { "type": "integer" }, "type": "array" }, "grand": { "$ref": "#/definitions/GrandfatherType", "$schema": "http://json-schema.org/draft-04/schema#" }, "id": { "type": "integer" }, "mult": { "enum": [ 1, 1.5, 2 ], "type": "number" }, "name": { "default": "alex", "description": "this is a property", "examples": [ "joe", "lucy" ], "maxLength": 20, "minLength": 1, "pattern": ".*", "title": "the name", "type": "string" }, "network_address": { "format": "ipv4", "type": "string" }, "photo": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "rank": { "enum": [ 1, 2, 3 ], "type": "integer" }, "some_base_property": { "type": "integer" }, "some_base_property_yaml": { "type": "integer" }, "tags": { "patternProperties": { ".*": { "additionalProperties": true, "type": "object" } }, "type": "object" }, "website": { "format": "uri", "type": "string" } }, "required": [ "SomeUntaggedBaseProperty", "id", "name", "photo" ], "type": "object" } } }
MIT
en
invopop/jsonschema
a6952de1bbe6e1c7ef118614925fe4b02847383a
2019-01-22T21:04:38
fixtures/required_from_jsontags.json
457
2024-05-27T06:45:28.205821Z
{ "$ref": "#/definitions/TestUser", "$schema": "http://json-schema.org/draft-04/schema#", "definitions": { "GrandfatherType": { "additionalProperties": false, "properties": { "family_name": { "type": "string" } }, "required": [ "family_name" ], "type": "object" }, "TestUser": { "additionalProperties": false, "properties": { "SomeUntaggedBaseProperty": { "type": "boolean" }, "TestFlag": { "type": "boolean" }, "age": { "exclusiveMaximum": true, "exclusiveMinimum": true, "maximum": 120, "minimum": 18, "type": "integer" }, "birth_date": { "format": "date-time", "type": "string" }, "email": { "format": "email", "type": "string" }, "feeling": { "oneOf": [ { "type": "string" }, { "type": "integer" } ] }, "friends": { "items": { "type": "integer" }, "type": "array" }, "grand": { "$ref": "#/definitions/GrandfatherType", "$schema": "http://json-schema.org/draft-04/schema#" }, "id": { "type": "integer" }, "name": { "maxLength": 20, "minLength": 1, "pattern": ".*", "type": "string" }, "network_address": { "format": "ipv4", "type": "string" }, "photo": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "some_base_property": { "type": "integer" }, "some_base_property_yaml": { "type": "integer" }, "tags": { "patternProperties": { ".*": { "additionalProperties": true, "type": "object" } }, "type": "object" }, "website": { "format": "uri", "type": "string" } }, "required": [ "SomeUntaggedBaseProperty", "id", "name", "photo" ], "type": "object" } } }
MIT
en
invopop/jsonschema
42cb9b014a9687f68669cb5071d1bb48f81b681a
2020-01-27T00:55:49
fixtures/allow_additional_props.json
457
2024-05-27T06:45:28.205821Z
{ "$ref": "#/definitions/TestUser", "$schema": "http://json-schema.org/draft-04/schema#", "definitions": { "GrandfatherType": { "additionalProperties": true, "properties": { "family_name": { "type": "string" } }, "required": [ "family_name" ], "type": "object" }, "TestUser": { "additionalProperties": true, "properties": { "PublicNonExported": { "type": "integer" }, "SomeUntaggedBaseProperty": { "type": "boolean" }, "TestFlag": { "type": "boolean" }, "age": { "exclusiveMaximum": true, "exclusiveMinimum": true, "maximum": 120, "minimum": 18, "type": "integer" }, "birth_date": { "format": "date-time", "type": "string" }, "email": { "format": "email", "type": "string" }, "feeling": { "oneOf": [ { "type": "string" }, { "type": "integer" } ] }, "friends": { "description": "list of IDs, omitted when empty", "items": { "type": "integer" }, "type": "array" }, "grand": { "$ref": "#/definitions/GrandfatherType", "$schema": "http://json-schema.org/draft-04/schema#" }, "id": { "type": "integer" }, "name": { "default": "alex", "description": "this is a property", "examples": [ "joe", "lucy" ], "maxLength": 20, "minLength": 1, "pattern": ".*", "title": "the name", "type": "string" }, "network_address": { "format": "ipv4", "type": "string" }, "photo": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "some_base_property": { "type": "integer" }, "some_base_property_yaml": { "type": "integer" }, "tags": { "patternProperties": { ".*": { "additionalProperties": true, "type": "object" } }, "type": "object" }, "website": { "format": "uri", "type": "string" } }, "required": [ "some_base_property", "some_base_property_yaml", "grand", "SomeUntaggedBaseProperty", "PublicNonExported", "id", "name", "TestFlag", "age", "email" ], "type": "object" } } }
MIT
en
invopop/jsonschema
a6952de1bbe6e1c7ef118614925fe4b02847383a
2019-01-22T21:04:38
fixtures/allow_additional_props.json
457
2024-05-27T06:45:28.205821Z
{ "$ref": "#/definitions/TestUser", "$schema": "http://json-schema.org/draft-04/schema#", "definitions": { "GrandfatherType": { "additionalProperties": true, "properties": { "family_name": { "type": "string" } }, "required": [ "family_name" ], "type": "object" }, "TestUser": { "additionalProperties": true, "properties": { "SomeUntaggedBaseProperty": { "type": "boolean" }, "TestFlag": { "type": "boolean" }, "age": { "exclusiveMaximum": true, "exclusiveMinimum": true, "maximum": 120, "minimum": 18, "type": "integer" }, "birth_date": { "format": "date-time", "type": "string" }, "email": { "format": "email", "type": "string" }, "feeling": { "oneOf": [ { "type": "string" }, { "type": "integer" } ] }, "friends": { "items": { "type": "integer" }, "type": "array" }, "grand": { "$ref": "#/definitions/GrandfatherType", "$schema": "http://json-schema.org/draft-04/schema#" }, "id": { "type": "integer" }, "name": { "maxLength": 20, "minLength": 1, "pattern": ".*", "type": "string" }, "network_address": { "format": "ipv4", "type": "string" }, "photo": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "some_base_property": { "type": "integer" }, "some_base_property_yaml": { "type": "integer" }, "tags": { "patternProperties": { ".*": { "additionalProperties": true, "type": "object" } }, "type": "object" }, "website": { "format": "uri", "type": "string" } }, "required": [ "some_base_property", "some_base_property_yaml", "grand", "SomeUntaggedBaseProperty", "id", "name", "TestFlag", "age", "email" ], "type": "object" } } }
MIT
en
invopop/jsonschema
933814a23a0b8401d90625df47f4be2a0c9a3039
2023-10-04T15:31:52
fixtures/schema_alias_2.json
457
2024-05-27T06:45:28.205821Z
{ "$defs": { "AliasObjectA": { "additionalProperties": false, "properties": { "prop_a": { "type": "string" } }, "required": [ "prop_a" ], "type": "object" }, "AliasObjectC": { "additionalProperties": false, "properties": { "obj_b": { "$ref": "#/$defs/AliasObjectA" } }, "required": [ "obj_b" ], "type": "object" } }, "$id": "https://github.com/invopop/jsonschema/alias-object-c", "$ref": "#/$defs/AliasObjectC", "$schema": "https://json-schema.org/draft/2020-12/schema" }
MIT
en
invopop/jsonschema
0ee4215a6859e63504624d560519b3fe90eb448f
2022-09-16T12:47:46
fixtures/inlining_ptr.json
457
2024-05-27T06:45:28.205821Z
{ "$id": "https://github.com/invopop/jsonschema/outer-ptr", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": { "Foo": { "type": "string" }, "Text": { "type": "string" } }, "required": [ "Foo" ], "type": "object" }
MIT
en
invopop/jsonschema
c291c3efc8b2b3d49b244c0c66d702492c0ffcea
2022-02-25T17:14:22
fixtures/recursive.json
457
2024-05-27T06:45:28.205821Z
{ "$defs": { "RecursiveExample": { "additionalProperties": false, "properties": { "children": { "items": { "$ref": "https://example.com/schemas/recursive" }, "type": "array" }, "text": { "type": "string" } }, "required": [ "text" ], "type": "object" } }, "$id": "https://github.com/invopop/jsonschema/recursive-example", "$ref": "#/$defs/RecursiveExample", "$schema": "http://json-schema.org/draft/2020-12/schema" }
MIT
en
invopop/jsonschema
fa80106e9fdaa7d66907c3db40628503a0528810
2019-04-27T06:12:45
fixtures/required_from_jsontags.json
457
2024-05-27T06:45:28.205821Z
{ "$ref": "#/definitions/TestUser", "$schema": "http://json-schema.org/draft-04/schema#", "definitions": { "GrandfatherType": { "additionalProperties": false, "properties": { "family_name": { "type": "string" } }, "required": [ "family_name" ], "type": "object" }, "TestUser": { "additionalProperties": false, "properties": { "SomeUntaggedBaseProperty": { "type": "boolean" }, "TestFlag": { "type": "boolean" }, "age": { "exclusiveMaximum": true, "exclusiveMinimum": true, "maximum": 120, "minimum": 18, "type": "integer" }, "birth_date": { "format": "date-time", "type": "string" }, "email": { "format": "email", "type": "string" }, "feeling": { "oneOf": [ { "type": "string" }, { "type": "integer" } ] }, "friends": { "description": "list of IDs, omitted when empty", "items": { "type": "integer" }, "type": "array" }, "grand": { "$ref": "#/definitions/GrandfatherType", "$schema": "http://json-schema.org/draft-04/schema#" }, "id": { "type": "integer" }, "name": { "default": "alex", "description": "this is a property", "examples": [ "joe", "lucy" ], "maxLength": 20, "minLength": 1, "pattern": ".*", "title": "the name", "type": "string" }, "network_address": { "format": "ipv4", "type": "string" }, "photo": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "some_base_property": { "type": "integer" }, "some_base_property_yaml": { "type": "integer" }, "tags": { "patternProperties": { ".*": { "additionalProperties": true, "type": "object" } }, "type": "object" }, "website": { "format": "uri", "type": "string" } }, "required": [ "SomeUntaggedBaseProperty", "id", "name", "photo" ], "type": "object" } } }
MIT
en
invopop/jsonschema
9c4bae410d1f19df81a4556a599256a95fa04b67
2017-02-22T06:56:07
fixtures/defaults_expanded_toplevel.json
457
2024-05-27T06:45:28.205821Z
{ "$schema": "http://json-schema.org/draft-04/schema#", "additionalProperties": false, "definitions": { "GrandfatherType": { "additionalProperties": false, "properties": { "family_name": { "type": "string" } }, "required": [ "family_name" ], "type": "object" } }, "properties": { "SomeUntaggedBaseProperty": { "type": "boolean" }, "TestFlag": { "type": "boolean" }, "birth_date": { "format": "date-time", "type": "string" }, "feeling": { "oneOf": [ { "type": "string" }, { "type": "integer" } ] }, "friends": { "items": { "type": "integer" }, "type": "array" }, "grand": { "$ref": "#/definitions/GrandfatherType", "$schema": "http://json-schema.org/draft-04/schema#" }, "id": { "type": "integer" }, "name": { "type": "string" }, "network_address": { "format": "ipv4", "type": "string" }, "photo": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "some_base_property": { "type": "integer" }, "tags": { "patternProperties": { ".*": { "additionalProperties": true, "type": "object" } }, "type": "object" }, "website": { "format": "uri", "type": "string" } }, "required": [ "some_base_property", "grand", "SomeUntaggedBaseProperty", "id", "name", "TestFlag" ], "type": "object" }
MIT
en
invopop/jsonschema
9336a888d4d92833e208ced3fe1745b359d2a8f7
2023-09-18T03:09:18
fixtures/equals_in_pattern.json
457
2024-05-27T06:45:28.205821Z
{ "$defs": { "PatternEqualsTest": { "additionalProperties": false, "properties": { "WithEquals": { "pattern": "foo=bar", "type": "string" }, "WithEqualsAndCommas": { "pattern": "foo,=bar", "type": "string" } }, "required": [ "WithEquals", "WithEqualsAndCommas" ], "type": "object" } }, "$id": "https://github.com/invopop/jsonschema/pattern-equals-test", "$ref": "#/$defs/PatternEqualsTest", "$schema": "https://json-schema.org/draft/2020-12/schema" }
MIT
en
invopop/jsonschema
3330865a0c6b1813bd90bd6255752e15bba096fe
2022-02-15T00:08:52
fixtures/go_comments.json
457
2024-05-27T06:45:28.205821Z
{ "$defs": { "Pet": { "additionalProperties": false, "description": "Pet defines the user's fury friend.", "properties": { "name": { "description": "Name of the animal.", "title": "Name", "type": "string" } }, "required": [ "name" ], "type": "object" }, "Plant": { "additionalProperties": false, "description": "Plant represents the plants the user might have and serves as a test of structs inside a `type` set.", "properties": { "variant": { "title": "Variant", "type": "string" } }, "required": [ "variant" ], "type": "object" }, "User": { "additionalProperties": false, "description": "User is used as a base to provide tests for comments.", "properties": { "friends": { "description": "list of IDs, omitted when empty", "items": { "type": "integer" }, "type": "array" }, "id": { "description": "Unique sequential identifier.", "type": "integer" }, "name": { "default": "alex", "description": "this is a property", "examples": [ "joe", "lucy" ], "maxLength": 20, "minLength": 1, "pattern": ".*", "title": "the name", "type": "string" }, "pets": { "description": "An array of pets the user cares for.", "items": { "$ref": "#/$defs/Pet" }, "type": "array" }, "plants": { "description": "Set of plants that the user likes", "items": { "$ref": "#/$defs/Plant" }, "title": "Pants", "type": "array" }, "tags": { "type": "object" } }, "required": [ "id", "name", "pets", "plants" ], "type": "object" } }, "$id": "https://github.com/invopop/jsonschema/examples/user", "$ref": "#/$defs/User", "$schema": "http://json-schema.org/draft/2020-12/schema" }
MIT
en
invopop/jsonschema
8b29eab41725e31920734db930a42c6ce802da63
2021-10-22T21:42:03
fixtures/custom_slice_type.json
457
2024-05-27T06:45:28.205821Z
{ "$ref": "#/definitions/CustomSliceOuter", "$schema": "http://json-schema.org/draft-04/schema#", "definitions": { "CustomSliceOuter": { "additionalProperties": false, "properties": { "slice": { "oneOf": [ { "type": "string" }, { "items": { "type": "string" }, "type": "array" } ] } }, "required": [ "slice" ], "type": "object" } } }
MIT
en
invopop/jsonschema
83a598aac4a08e3c6edb184fd40b3c690fd3f3a7
2022-07-21T22:47:45
fixtures/schema_with_minimum.json
457
2024-05-27T06:45:28.205821Z
{ "$defs": { "MinValue": { "additionalProperties": false, "properties": { "value4": { "minimum": 0, "type": "integer" } }, "required": [ "value4" ], "type": "object" } }, "$id": "https://github.com/invopop/jsonschema/min-value", "$ref": "#/$defs/MinValue", "$schema": "https://json-schema.org/draft/2020-12/schema" }
MIT
en
invopop/jsonschema
83a598aac4a08e3c6edb184fd40b3c690fd3f3a7
2022-07-21T22:47:45
fixtures/commas_in_pattern.json
457
2024-05-27T06:45:28.205821Z
{ "$defs": { "PatternTest": { "additionalProperties": false, "properties": { "with_pattern": { "maxLength": 50, "minLength": 1, "pattern": "[0-9]{1,4}", "type": "string" } }, "required": [ "with_pattern" ], "type": "object" } }, "$id": "https://github.com/invopop/jsonschema/pattern-test", "$ref": "#/$defs/PatternTest", "$schema": "https://json-schema.org/draft/2020-12/schema" }
MIT
en
invopop/jsonschema
a176ac1737cd502905bb0b77d36a89d0b3bfeee1
2022-02-13T15:49:12
fixtures/compact_date.json
457
2024-05-27T06:45:28.205821Z
{ "$defs": { "CompactDate": { "description": "Short date that only includes year and month", "pattern": "^[0-9]{4}-[0-1][0-9]$", "title": "Compact Date", "type": "string" } }, "$ref": "#/$defs/CompactDate", "$schema": "http://json-schema.org/draft/2020-12/schema" }
MIT
en
invopop/jsonschema
12cbc49539c8deac9baeae7811fdcab42fd5def0
2023-10-04T08:45:54
fixtures/no_reference_anchor.json
457
2024-05-27T06:45:28.205821Z
{ "$anchor": "TestUser", "$id": "https://github.com/invopop/jsonschema/test-user", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": { "Baz": { "foo": [ "bar", "bar1" ], "hello": "world", "type": "string" }, "MapType": { "type": "object" }, "PublicNonExported": { "type": "integer" }, "SomeUntaggedBaseProperty": { "type": "boolean" }, "TestFlag": { "type": "boolean" }, "TestFlagFalse": { "default": false, "type": "boolean" }, "TestFlagTrue": { "default": true, "type": "boolean" }, "age": { "exclusiveMaximum": 121, "exclusiveMinimum": 17, "maximum": 120, "minimum": 18, "type": "integer" }, "anything": true, "birth_date": { "format": "date-time", "type": "string" }, "bool_extra": { "isFalse": false, "isTrue": true, "type": "string" }, "color": { "enum": [ "red", "green", "blue" ], "type": "string" }, "email": { "format": "email", "type": "string" }, "feeling": { "oneOf": [ { "type": "string" }, { "type": "integer" } ] }, "friends": { "description": "list of IDs, omitted when empty", "items": { "type": "integer" }, "type": "array" }, "grand": { "$anchor": "GrandfatherType", "additionalProperties": false, "properties": { "family_name": { "type": "string" } }, "required": [ "family_name" ], "type": "object" }, "id": { "type": "integer" }, "mult": { "enum": [ 1.0, 1.5, 2.0 ], "type": "number" }, "name": { "default": "alex", "description": "this is a property", "examples": [ "joe", "lucy" ], "maxLength": 20, "minLength": 1, "pattern": ".*", "readOnly": true, "title": "the name", "type": "string" }, "network_address": { "format": "ipv4", "type": "string" }, "offsets": { "items": { "enum": [ 1.570796, 3.141592, 6.283185 ], "type": "number" }, "type": "array" }, "options": { "type": "object" }, "password": { "type": "string", "writeOnly": true }, "photo": { "contentEncoding": "base64", "type": "string" }, "photo2": { "contentEncoding": "base64", "type": "string" }, "priorities": { "items": { "enum": [ -1, 0, 1 ], "type": "integer" }, "type": "array" }, "rank": { "enum": [ 1, 2, 3 ], "type": "integer" }, "raw": true, "roles": { "items": { "enum": [ "admin", "moderator", "user" ], "type": "string" }, "type": "array" }, "some_base_property": { "type": "integer" }, "tags": { "additionalProperties": { "type": "string" }, "type": "object" }, "uuid": { "format": "uuid", "type": "string" }, "website": { "format": "uri", "type": "string" } }, "required": [ "id", "some_base_property", "grand", "SomeUntaggedBaseProperty", "PublicNonExported", "MapType", "name", "password", "TestFlag", "photo", "photo2", "age", "email", "uuid", "Baz", "color", "roles", "raw" ], "type": "object" }
MIT
en
invopop/jsonschema
42cb9b014a9687f68669cb5071d1bb48f81b681a
2020-01-27T00:55:49
fixtures/oneof.json
457
2024-05-27T06:45:28.205821Z
{ "$ref": "#/definitions/RootOneOf", "$schema": "http://json-schema.org/draft-04/schema#", "definitions": { "ChildOneOf": { "additionalProperties": false, "oneOf": [ { "required": [ "child1", "child4" ], "title": "group1" }, { "required": [ "child2", "child3" ], "title": "group2" } ], "properties": { "child1": { "type": "string" }, "child2": { "type": "string" }, "child3": { "additionalProperties": true, "oneOf": [ { "type": "string" }, { "type": "array" } ] }, "child4": { "type": "string" } }, "type": "object" }, "RootOneOf": { "additionalProperties": false, "oneOf": [ { "required": [ "field1", "field4" ], "title": "group1" }, { "required": [ "field2" ], "title": "group2" } ], "properties": { "child": { "$ref": "#/definitions/ChildOneOf", "$schema": "http://json-schema.org/draft-04/schema#" }, "field1": { "type": "string" }, "field2": { "type": "string" }, "field3": { "additionalProperties": true, "oneOf": [ { "type": "string" }, { "type": "array" } ] }, "field4": { "type": "string" } }, "type": "object" } } }
MIT
en
invopop/jsonschema
e803ab25037d05b814b4b8ae313762cc1c75be79
2020-01-29T02:05:56
fixtures/defaults_expanded_toplevel.json
457
2024-05-27T06:45:28.205821Z
{ "$schema": "http://json-schema.org/draft-04/schema#", "additionalProperties": false, "definitions": { "GrandfatherType": { "additionalProperties": false, "properties": { "family_name": { "type": "string" } }, "required": [ "family_name" ], "type": "object" } }, "properties": { "Baz": { "foo": "bar", "hello": "world", "type": "string" }, "PublicNonExported": { "type": "integer" }, "SomeUntaggedBaseProperty": { "type": "boolean" }, "TestFlag": { "type": "boolean" }, "age": { "exclusiveMaximum": true, "exclusiveMinimum": true, "maximum": 120, "minimum": 18, "type": "integer" }, "birth_date": { "format": "date-time", "type": "string" }, "color": { "enum": [ "red", "green", "blue" ], "type": "string" }, "email": { "format": "email", "type": "string" }, "feeling": { "oneOf": [ { "type": "string" }, { "type": "integer" } ] }, "friends": { "description": "list of IDs, omitted when empty", "items": { "type": "integer" }, "type": "array" }, "grand": { "$ref": "#/definitions/GrandfatherType", "$schema": "http://json-schema.org/draft-04/schema#" }, "id": { "type": "integer" }, "mult": { "enum": [ 1.0, 1.5, 2.0 ], "type": "number" }, "name": { "default": "alex", "description": "this is a property", "examples": [ "joe", "lucy" ], "maxLength": 20, "minLength": 1, "pattern": ".*", "title": "the name", "type": "string" }, "network_address": { "format": "ipv4", "type": "string" }, "photo": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "rank": { "enum": [ 1, 2, 3 ], "type": "integer" }, "some_base_property": { "type": "integer" }, "some_base_property_yaml": { "type": "integer" }, "tags": { "patternProperties": { ".*": { "additionalProperties": true, "type": "object" } }, "type": "object" }, "website": { "format": "uri", "type": "string" } }, "required": [ "some_base_property", "some_base_property_yaml", "grand", "SomeUntaggedBaseProperty", "PublicNonExported", "id", "name", "TestFlag", "age", "email", "Baz", "color" ], "type": "object" }
MIT
en
invopop/jsonschema
bf1cc2205dbf67d8a5a4b8a719ce16a3dfcb547c
2019-01-19T22:13:38
fixtures/defaults_expanded_toplevel.json
457
2024-05-27T06:45:28.205821Z
{ "$schema": "http://json-schema.org/draft-04/schema#", "additionalProperties": false, "definitions": { "GrandfatherType": { "additionalProperties": false, "properties": { "family_name": { "type": "string" } }, "required": [ "family_name" ], "type": "object" } }, "properties": { "SomeUntaggedBaseProperty": { "type": "boolean" }, "TestFlag": { "type": "boolean" }, "age": { "exclusiveMaximum": true, "exclusiveMinimum": true, "maximum": 120, "minimum": 18, "type": "integer" }, "birth_date": { "format": "date-time", "type": "string" }, "email": { "format": "email", "type": "string" }, "feeling": { "oneOf": [ { "type": "string" }, { "type": "integer" } ] }, "friends": { "items": { "type": "integer" }, "type": "array" }, "grand": { "$ref": "#/definitions/GrandfatherType", "$schema": "http://json-schema.org/draft-04/schema#" }, "id": { "type": "integer" }, "name": { "maxLength": 20, "minLength": 1, "type": "string" }, "network_address": { "format": "ipv4", "type": "string" }, "photo": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "some_base_property": { "type": "integer" }, "some_base_property_yaml": { "type": "integer" }, "tags": { "patternProperties": { ".*": { "additionalProperties": true, "type": "object" } }, "type": "object" }, "website": { "format": "uri", "type": "string" } }, "required": [ "some_base_property", "some_base_property_yaml", "grand", "SomeUntaggedBaseProperty", "id", "name", "TestFlag", "age", "email" ], "type": "object" }
MIT
en
invopop/jsonschema
83a598aac4a08e3c6edb184fd40b3c690fd3f3a7
2022-07-21T22:47:45
fixtures/base_schema_id.json
457
2024-05-27T06:45:28.205821Z
{ "$defs": { "LookupName": { "additionalProperties": false, "properties": { "first": { "type": "string" }, "surname": { "type": "string" } }, "required": [ "first", "surname" ], "type": "object" }, "LookupUser": { "additionalProperties": false, "properties": { "alias": { "type": "string" }, "name": { "$ref": "#/$defs/LookupName" } }, "required": [ "name" ], "type": "object" } }, "$id": "https://example.com/schemas/lookup-user", "$ref": "#/$defs/LookupUser", "$schema": "https://json-schema.org/draft/2020-12/schema" }
MIT
en
invopop/jsonschema
04bb8d856292e626946ddedfb0538045b84b1343
2017-10-25T02:22:28
fixtures/allow_additional_props.json
457
2024-05-27T06:45:28.205821Z
{ "$ref": "#/definitions/TestUser", "$schema": "http://json-schema.org/draft-04/schema#", "definitions": { "GrandfatherType": { "additionalProperties": true, "properties": { "family_name": { "type": "string" } }, "required": [ "family_name" ], "type": "object" }, "TestUser": { "additionalProperties": true, "properties": { "SomeUntaggedBaseProperty": { "type": "boolean" }, "TestFlag": { "type": "boolean" }, "age": { "exclusiveMaximum": true, "exclusiveMinimum": true, "maximum": 120, "minimum": 18, "type": "integer" }, "birth_date": { "format": "date-time", "type": "string" }, "email": { "format": "email", "type": "string" }, "feeling": { "oneOf": [ { "type": "string" }, { "type": "integer" } ] }, "friends": { "items": { "type": "integer" }, "type": "array" }, "grand": { "$ref": "#/definitions/GrandfatherType", "$schema": "http://json-schema.org/draft-04/schema#" }, "id": { "type": "integer" }, "name": { "maxLength": 20, "minLength": 1, "type": "string" }, "network_address": { "format": "ipv4", "type": "string" }, "photo": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "some_base_property": { "type": "integer" }, "tags": { "patternProperties": { ".*": { "additionalProperties": true, "type": "object" } }, "type": "object" }, "website": { "format": "uri", "type": "string" } }, "required": [ "some_base_property", "grand", "SomeUntaggedBaseProperty", "id", "name", "TestFlag", "age", "email" ], "type": "object" } } }
MIT
en
invopop/jsonschema
3330865a0c6b1813bd90bd6255752e15bba096fe
2022-02-15T00:08:52
fixtures/custom_type.json
457
2024-05-27T06:45:28.205821Z
{ "$defs": { "CustomTypeField": { "additionalProperties": false, "properties": { "CreatedAt": { "format": "date-time", "type": "string" } }, "required": [ "CreatedAt" ], "type": "object" } }, "$id": "https://github.com/invopop/jsonschema/custom-type-field", "$ref": "#/$defs/CustomTypeField", "$schema": "http://json-schema.org/draft/2020-12/schema" }
MIT
en
invopop/jsonschema
fa819247876e6b20293e57d3eb98afed476e5a43
2022-05-09T22:09:34
fixtures/commas_in_pattern.json
457
2024-05-27T06:45:28.205821Z
{ "$defs": { "PatternTest": { "additionalProperties": false, "properties": { "with_pattern": { "maxLength": 50, "minLength": 1, "pattern": "[0-9]{1,4}", "type": "string" } }, "required": [ "with_pattern" ], "type": "object" } }, "$id": "https://github.com/invopop/jsonschema/pattern-test", "$ref": "#/$defs/PatternTest", "$schema": "http://json-schema.org/draft/2020-12/schema" }
MIT
en
invopop/jsonschema
fb292e4c0ab70c80ac1ca8543d981cf2609947e2
2022-11-07T23:31:41
fixtures/schema_with_expression.json
457
2024-05-27T06:45:28.205821Z
{ "$defs": { "Expression": { "additionalProperties": false, "properties": { "value": { "foo": "bar=='baz'", "type": "integer" } }, "required": [ "value" ], "type": "object" } }, "$id": "https://github.com/invopop/jsonschema/expression", "$ref": "#/$defs/Expression", "$schema": "https://json-schema.org/draft/2020-12/schema" }
MIT
en
invopop/jsonschema
bf1cc2205dbf67d8a5a4b8a719ce16a3dfcb547c
2019-01-19T22:13:38
fixtures/required_from_jsontags.json
457
2024-05-27T06:45:28.205821Z
{ "$ref": "#/definitions/TestUser", "$schema": "http://json-schema.org/draft-04/schema#", "definitions": { "GrandfatherType": { "additionalProperties": false, "properties": { "family_name": { "type": "string" } }, "required": [ "family_name" ], "type": "object" }, "TestUser": { "additionalProperties": false, "properties": { "SomeUntaggedBaseProperty": { "type": "boolean" }, "TestFlag": { "type": "boolean" }, "age": { "exclusiveMaximum": true, "exclusiveMinimum": true, "maximum": 120, "minimum": 18, "type": "integer" }, "birth_date": { "format": "date-time", "type": "string" }, "email": { "format": "email", "type": "string" }, "feeling": { "oneOf": [ { "type": "string" }, { "type": "integer" } ] }, "friends": { "items": { "type": "integer" }, "type": "array" }, "grand": { "$ref": "#/definitions/GrandfatherType", "$schema": "http://json-schema.org/draft-04/schema#" }, "id": { "type": "integer" }, "name": { "maxLength": 20, "minLength": 1, "type": "string" }, "network_address": { "format": "ipv4", "type": "string" }, "photo": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "some_base_property": { "type": "integer" }, "some_base_property_yaml": { "type": "integer" }, "tags": { "patternProperties": { ".*": { "additionalProperties": true, "type": "object" } }, "type": "object" }, "website": { "format": "uri", "type": "string" } }, "required": [ "SomeUntaggedBaseProperty", "id", "name", "photo" ], "type": "object" } } }
MIT
en
invopop/jsonschema
a176ac1737cd502905bb0b77d36a89d0b3bfeee1
2022-02-13T15:49:12
fixtures/custom_slice_type.json
457
2024-05-27T06:45:28.205821Z
{ "$defs": { "CustomSliceOuter": { "additionalProperties": false, "properties": { "slice": { "$ref": "#/$defs/CustomSliceType", "$schema": "http://json-schema.org/draft/2020-12/schema" } }, "required": [ "slice" ], "type": "object" }, "CustomSliceType": { "oneOf": [ { "type": "string" }, { "items": { "type": "string" }, "type": "array" } ] } }, "$ref": "#/$defs/CustomSliceOuter", "$schema": "http://json-schema.org/draft/2020-12/schema" }
MIT
en
invopop/jsonschema
933814a23a0b8401d90625df47f4be2a0c9a3039
2023-10-04T15:31:52
fixtures/schema_property_alias.json
457
2024-05-27T06:45:28.205821Z
{ "$defs": { "AliasObjectA": { "additionalProperties": false, "properties": { "prop_a": { "type": "string" } }, "required": [ "prop_a" ], "type": "object" }, "AliasPropertyObjectBase": { "additionalProperties": false, "properties": { "object": { "$ref": "#/$defs/AliasObjectA" } }, "required": [ "object" ], "type": "object" } }, "$id": "https://github.com/invopop/jsonschema/alias-property-object-base", "$ref": "#/$defs/AliasPropertyObjectBase", "$schema": "https://json-schema.org/draft/2020-12/schema" }
MIT
en
invopop/jsonschema
b0206aa42ef7921e95277fe9f3dc01e1807e0b86
2023-09-25T06:41:32
fixtures/required_from_jsontags.json
457
2024-05-27T06:45:28.205821Z
{ "$defs": { "Bytes": { "contentEncoding": "base64", "type": "string" }, "GrandfatherType": { "additionalProperties": false, "properties": { "family_name": { "type": "string" } }, "required": [ "family_name" ], "type": "object" }, "MapType": { "type": "object" }, "TestUser": { "additionalProperties": false, "properties": { "Baz": { "foo": [ "bar", "bar1" ], "hello": "world", "type": "string" }, "MapType": { "$ref": "#/$defs/MapType" }, "PublicNonExported": { "type": "integer" }, "SomeUntaggedBaseProperty": { "type": "boolean" }, "TestFlag": { "type": "boolean" }, "TestFlagFalse": { "default": false, "type": "boolean" }, "TestFlagTrue": { "default": true, "type": "boolean" }, "age": { "exclusiveMaximum": 121, "exclusiveMinimum": 17, "maximum": 120, "minimum": 18, "type": "integer" }, "anything": true, "birth_date": { "format": "date-time", "type": "string" }, "bool_extra": { "isFalse": false, "isTrue": true, "type": "string" }, "color": { "enum": [ "red", "green", "blue" ], "type": "string" }, "email": { "format": "email", "type": "string" }, "feeling": { "oneOf": [ { "type": "string" }, { "type": "integer" } ] }, "friends": { "description": "list of IDs, omitted when empty", "items": { "type": "integer" }, "type": "array" }, "grand": { "$ref": "#/$defs/GrandfatherType" }, "id": { "type": "integer" }, "mult": { "enum": [ 1, 1.5, 2 ], "type": "number" }, "name": { "default": "alex", "description": "this is a property", "examples": [ "joe", "lucy" ], "maxLength": 20, "minLength": 1, "pattern": ".*", "readOnly": true, "title": "the name", "type": "string" }, "network_address": { "format": "ipv4", "type": "string" }, "offsets": { "items": { "enum": [ 1.570796, 3.141592, 6.283185 ], "type": "number" }, "type": "array" }, "options": { "type": "object" }, "password": { "type": "string", "writeOnly": true }, "photo": { "contentEncoding": "base64", "type": "string" }, "photo2": { "$ref": "#/$defs/Bytes" }, "priorities": { "items": { "enum": [ -1, 0, 1 ], "type": "integer" }, "type": "array" }, "rank": { "enum": [ 1, 2, 3 ], "type": "integer" }, "raw": true, "roles": { "items": { "enum": [ "admin", "moderator", "user" ], "type": "string" }, "type": "array" }, "some_base_property": { "type": "integer" }, "tags": { "additionalProperties": { "type": "string" }, "type": "object" }, "uuid": { "format": "uuid", "type": "string" }, "website": { "format": "uri", "type": "string" } }, "required": [ "SomeUntaggedBaseProperty", "id", "name", "photo", "photo2" ], "type": "object" } }, "$id": "https://github.com/invopop/jsonschema/test-user", "$ref": "#/$defs/TestUser", "$schema": "https://json-schema.org/draft/2020-12/schema" }
MIT
en
invopop/jsonschema
55971c8a6b6b1eb0504082672ff1937e25c95053
2023-09-06T14:45:43
fixtures/schema_with_expression.json
457
2024-05-27T06:45:28.205821Z
{ "$defs": { "Expression": { "additionalProperties": false, "properties": { "value": { "foo": "bar=='baz'", "type": "integer" } }, "required": [ "value" ], "type": "object" } }, "$id": "https://github.com/invopop/jsonschema/expression", "$ref": "#/$defs/Expression", "$schema": "https://json-schema.org/draft/2020-12/schema" }
MIT
en
invopop/jsonschema
28cc7fb60085c791c2c3d1315ff5702cb73f52f4
2023-06-28T12:49:03
fixtures/oneof.json
457
2024-05-27T06:45:28.205821Z
{ "$defs": { "ChildOneOf": { "additionalProperties": false, "oneOf": [ { "required": [ "child1", "child4" ], "title": "group1" }, { "required": [ "child2", "child3" ], "title": "group2" } ], "properties": { "child1": { "type": "string" }, "child2": { "type": "string" }, "child3": { "oneOf": [ { "type": "string" }, { "type": "array" } ] }, "child4": { "type": "string" } }, "type": "object" }, "RootOneOf": { "additionalProperties": false, "oneOf": [ { "required": [ "field1", "field4" ], "title": "group1" }, { "required": [ "field2" ], "title": "group2" } ], "properties": { "child": { "$ref": "#/$defs/ChildOneOf" }, "field1": { "type": "string" }, "field2": { "type": "string" }, "field3": { "oneOf": [ { "type": "string" }, { "type": "array" } ] }, "field4": { "type": "string" }, "field6": { "oneOf": [ { "$ref": "Outer" }, { "$ref": "OuterNamed" }, { "$ref": "OuterPtr" } ] } }, "type": "object" } }, "$id": "https://github.com/invopop/jsonschema/root-one-of", "$ref": "#/$defs/RootOneOf", "$schema": "https://json-schema.org/draft/2020-12/schema" }
MIT
en
invopop/jsonschema
1014919a589cb62aa9287aebd5a841726661e3ed
2021-08-18T09:53:45
fixtures/defaults_expanded_toplevel.json
457
2024-05-27T06:45:28.205821Z
{ "$schema": "http://json-schema.org/draft-04/schema#", "additionalProperties": false, "definitions": { "GrandfatherType": { "additionalProperties": false, "properties": { "family_name": { "type": "string" } }, "required": [ "family_name" ], "type": "object" } }, "properties": { "Baz": { "foo": [ "bar", "bar1" ], "hello": "world", "type": "string" }, "PublicNonExported": { "type": "integer" }, "SomeUntaggedBaseProperty": { "type": "boolean" }, "TestFlag": { "type": "boolean" }, "age": { "exclusiveMaximum": true, "exclusiveMinimum": true, "maximum": 120, "minimum": 18, "type": "integer" }, "birth_date": { "format": "date-time", "type": "string" }, "color": { "enum": [ "red", "green", "blue" ], "type": "string" }, "email": { "format": "email", "type": "string" }, "feeling": { "oneOf": [ { "type": "string" }, { "type": "integer" } ] }, "friends": { "description": "list of IDs, omitted when empty", "items": { "type": "integer" }, "type": "array" }, "grand": { "$ref": "#/definitions/GrandfatherType", "$schema": "http://json-schema.org/draft-04/schema#" }, "id": { "type": "integer" }, "mult": { "enum": [ 1.0, 1.5, 2.0 ], "type": "number" }, "name": { "default": "alex", "description": "this is a property", "examples": [ "joe", "lucy" ], "maxLength": 20, "minLength": 1, "pattern": ".*", "title": "the name", "type": "string" }, "network_address": { "format": "ipv4", "type": "string" }, "offsets": { "items": { "enum": [ 1.570796, 3.141592, 6.283185 ], "type": "number" }, "type": "array" }, "photo": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "photo2": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "priorities": { "items": { "enum": [ -1, 0, 1 ], "type": "integer" }, "type": "array" }, "rank": { "enum": [ 1, 2, 3 ], "type": "integer" }, "roles": { "items": { "enum": [ "admin", "moderator", "user" ], "type": "string" }, "type": "array" }, "some_base_property": { "type": "integer" }, "some_base_property_yaml": { "type": "integer" }, "tags": { "patternProperties": { ".*": { "additionalProperties": true } }, "type": "object" }, "website": { "format": "uri", "type": "string" } }, "required": [ "some_base_property", "some_base_property_yaml", "grand", "SomeUntaggedBaseProperty", "PublicNonExported", "id", "name", "TestFlag", "age", "email", "Baz", "color", "roles" ], "type": "object" }
MIT
en
invopop/jsonschema
530c7ec495a44ba3d94c5b49a19f1e278959af3b
2020-01-27T19:28:18
fixtures/required_from_jsontags.json
457
2024-05-27T06:45:28.205821Z
{ "$ref": "#/definitions/TestUser", "$schema": "http://json-schema.org/draft-04/schema#", "definitions": { "GrandfatherType": { "additionalProperties": false, "properties": { "family_name": { "type": "string" } }, "required": [ "family_name" ], "type": "object" }, "TestUser": { "additionalProperties": false, "properties": { "Baz": { "foo": "bar", "hello": "world", "type": "string" }, "PublicNonExported": { "type": "integer" }, "SomeUntaggedBaseProperty": { "type": "boolean" }, "TestFlag": { "type": "boolean" }, "age": { "exclusiveMaximum": true, "exclusiveMinimum": true, "maximum": 120, "minimum": 18, "type": "integer" }, "birth_date": { "format": "date-time", "type": "string" }, "email": { "format": "email", "type": "string" }, "feeling": { "oneOf": [ { "type": "string" }, { "type": "integer" } ] }, "friends": { "description": "list of IDs, omitted when empty", "items": { "type": "integer" }, "type": "array" }, "grand": { "$ref": "#/definitions/GrandfatherType", "$schema": "http://json-schema.org/draft-04/schema#" }, "id": { "type": "integer" }, "name": { "default": "alex", "description": "this is a property", "examples": [ "joe", "lucy" ], "maxLength": 20, "minLength": 1, "pattern": ".*", "title": "the name", "type": "string" }, "network_address": { "format": "ipv4", "type": "string" }, "photo": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "some_base_property": { "type": "integer" }, "some_base_property_yaml": { "type": "integer" }, "tags": { "patternProperties": { ".*": { "additionalProperties": true, "type": "object" } }, "type": "object" }, "website": { "format": "uri", "type": "string" } }, "required": [ "SomeUntaggedBaseProperty", "id", "name", "photo" ], "type": "object" } } }
MIT
en
invopop/jsonschema
d65fe469b0489087e7f77154846f6fe5e31a0d0b
2020-02-10T11:53:47
fixtures/ignore_type.json
457
2024-05-27T06:45:28.205821Z
{ "$ref": "#/definitions/TestUser", "$schema": "http://json-schema.org/draft-04/schema#", "definitions": { "GrandfatherType": { "additionalProperties": true, "properties": {}, "type": "object" }, "TestUser": { "additionalProperties": false, "properties": { "Baz": { "foo": "bar", "hello": "world", "type": "string" }, "PublicNonExported": { "type": "integer" }, "SomeUntaggedBaseProperty": { "type": "boolean" }, "TestFlag": { "type": "boolean" }, "age": { "exclusiveMaximum": true, "exclusiveMinimum": true, "maximum": 120, "minimum": 18, "type": "integer" }, "birth_date": { "format": "date-time", "type": "string" }, "color": { "enum": [ "red", "green", "blue" ], "type": "string" }, "email": { "format": "email", "type": "string" }, "feeling": { "oneOf": [ { "type": "string" }, { "type": "integer" } ] }, "friends": { "description": "list of IDs, omitted when empty", "items": { "type": "integer" }, "type": "array" }, "grand": { "$ref": "#/definitions/GrandfatherType", "$schema": "http://json-schema.org/draft-04/schema#" }, "id": { "type": "integer" }, "mult": { "enum": [ 1, 1.5, 2 ], "type": "number" }, "name": { "default": "alex", "description": "this is a property", "examples": [ "joe", "lucy" ], "maxLength": 20, "minLength": 1, "pattern": ".*", "title": "the name", "type": "string" }, "network_address": { "format": "ipv4", "type": "string" }, "photo": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "rank": { "enum": [ 1, 2, 3 ], "type": "integer" }, "some_base_property": { "type": "integer" }, "some_base_property_yaml": { "type": "integer" }, "tags": { "patternProperties": { ".*": { "additionalProperties": true } }, "type": "object" }, "website": { "format": "uri", "type": "string" } }, "required": [ "some_base_property", "some_base_property_yaml", "grand", "SomeUntaggedBaseProperty", "PublicNonExported", "id", "name", "TestFlag", "age", "email", "Baz", "color" ], "type": "object" } } }
MIT
en
invopop/jsonschema
a176ac1737cd502905bb0b77d36a89d0b3bfeee1
2022-02-13T15:49:12
fixtures/custom_type_with_interface.json
457
2024-05-27T06:45:28.205821Z
{ "$defs": { "CustomTimeWithInterface": { "format": "date-time", "type": "string" }, "CustomTypeFieldWithInterface": { "additionalProperties": false, "properties": { "CreatedAt": { "$ref": "#/$defs/CustomTimeWithInterface", "$schema": "http://json-schema.org/draft/2020-12/schema" } }, "required": [ "CreatedAt" ], "type": "object" } }, "$ref": "#/$defs/CustomTypeFieldWithInterface", "$schema": "http://json-schema.org/draft/2020-12/schema" }
MIT
en
invopop/jsonschema
b0206aa42ef7921e95277fe9f3dc01e1807e0b86
2023-09-25T06:41:32
fixtures/no_reference.json
457
2024-05-27T06:45:28.205821Z
{ "$id": "https://github.com/invopop/jsonschema/test-user", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": { "Baz": { "foo": [ "bar", "bar1" ], "hello": "world", "type": "string" }, "MapType": { "type": "object" }, "PublicNonExported": { "type": "integer" }, "SomeUntaggedBaseProperty": { "type": "boolean" }, "TestFlag": { "type": "boolean" }, "TestFlagFalse": { "default": false, "type": "boolean" }, "TestFlagTrue": { "default": true, "type": "boolean" }, "age": { "exclusiveMaximum": 121, "exclusiveMinimum": 17, "maximum": 120, "minimum": 18, "type": "integer" }, "anything": true, "birth_date": { "format": "date-time", "type": "string" }, "bool_extra": { "isFalse": false, "isTrue": true, "type": "string" }, "color": { "enum": [ "red", "green", "blue" ], "type": "string" }, "email": { "format": "email", "type": "string" }, "feeling": { "oneOf": [ { "type": "string" }, { "type": "integer" } ] }, "friends": { "description": "list of IDs, omitted when empty", "items": { "type": "integer" }, "type": "array" }, "grand": { "additionalProperties": false, "properties": { "family_name": { "type": "string" } }, "required": [ "family_name" ], "type": "object" }, "id": { "type": "integer" }, "mult": { "enum": [ 1, 1.5, 2 ], "type": "number" }, "name": { "default": "alex", "description": "this is a property", "examples": [ "joe", "lucy" ], "maxLength": 20, "minLength": 1, "pattern": ".*", "readOnly": true, "title": "the name", "type": "string" }, "network_address": { "format": "ipv4", "type": "string" }, "offsets": { "items": { "enum": [ 1.570796, 3.141592, 6.283185 ], "type": "number" }, "type": "array" }, "options": { "type": "object" }, "password": { "type": "string", "writeOnly": true }, "photo": { "contentEncoding": "base64", "type": "string" }, "photo2": { "contentEncoding": "base64", "type": "string" }, "priorities": { "items": { "enum": [ -1, 0, 1 ], "type": "integer" }, "type": "array" }, "rank": { "enum": [ 1, 2, 3 ], "type": "integer" }, "raw": true, "roles": { "items": { "enum": [ "admin", "moderator", "user" ], "type": "string" }, "type": "array" }, "some_base_property": { "type": "integer" }, "tags": { "additionalProperties": { "type": "string" }, "type": "object" }, "uuid": { "format": "uuid", "type": "string" }, "website": { "format": "uri", "type": "string" } }, "required": [ "id", "some_base_property", "grand", "SomeUntaggedBaseProperty", "PublicNonExported", "MapType", "name", "password", "TestFlag", "photo", "photo2", "age", "email", "uuid", "Baz", "color", "roles", "raw" ], "type": "object" }
MIT
en
invopop/jsonschema
19bc6f27d155f1ab28a60447c7ecb52570305b5f
2021-01-27T01:28:34
fixtures/nullable.json
457
2024-05-27T06:45:28.205821Z
{ "$ref": "#/definitions/TestNullable", "$schema": "http://json-schema.org/draft-04/schema#", "definitions": { "TestNullable": { "additionalProperties": false, "properties": { "child1": { "oneOf": [ { "type": "string" }, { "type": "null" } ] } }, "required": [ "child1" ], "type": "object" } } }
MIT
en
invopop/jsonschema
a6952de1bbe6e1c7ef118614925fe4b02847383a
2019-01-22T21:04:38
fixtures/defaults_expanded_toplevel.json
457
2024-05-27T06:45:28.205821Z
{ "$schema": "http://json-schema.org/draft-04/schema#", "additionalProperties": false, "definitions": { "GrandfatherType": { "additionalProperties": false, "properties": { "family_name": { "type": "string" } }, "required": [ "family_name" ], "type": "object" } }, "properties": { "SomeUntaggedBaseProperty": { "type": "boolean" }, "TestFlag": { "type": "boolean" }, "age": { "exclusiveMaximum": true, "exclusiveMinimum": true, "maximum": 120, "minimum": 18, "type": "integer" }, "birth_date": { "format": "date-time", "type": "string" }, "email": { "format": "email", "type": "string" }, "feeling": { "oneOf": [ { "type": "string" }, { "type": "integer" } ] }, "friends": { "items": { "type": "integer" }, "type": "array" }, "grand": { "$ref": "#/definitions/GrandfatherType", "$schema": "http://json-schema.org/draft-04/schema#" }, "id": { "type": "integer" }, "name": { "maxLength": 20, "minLength": 1, "pattern": ".*", "type": "string" }, "network_address": { "format": "ipv4", "type": "string" }, "photo": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "some_base_property": { "type": "integer" }, "some_base_property_yaml": { "type": "integer" }, "tags": { "patternProperties": { ".*": { "additionalProperties": true, "type": "object" } }, "type": "object" }, "website": { "format": "uri", "type": "string" } }, "required": [ "some_base_property", "some_base_property_yaml", "grand", "SomeUntaggedBaseProperty", "id", "name", "TestFlag", "age", "email" ], "type": "object" }
MIT
en
invopop/jsonschema
6da915f1869e93a0f6e576d5ac64f60043e4a932
2024-01-08T23:59:24
fixtures/inlining_tag.json
457
2024-05-27T06:45:28.205821Z
{ "$id": "https://github.com/invopop/jsonschema/outer-inlined", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": { "Foo": { "type": "string" }, "text": { "type": "string" } }, "required": [ "Foo" ], "type": "object" }
MIT
en
invopop/jsonschema
d65fe469b0489087e7f77154846f6fe5e31a0d0b
2020-02-10T11:53:47
fixtures/allow_additional_props.json
457
2024-05-27T06:45:28.205821Z
{ "$ref": "#/definitions/TestUser", "$schema": "http://json-schema.org/draft-04/schema#", "definitions": { "GrandfatherType": { "additionalProperties": true, "properties": { "family_name": { "type": "string" } }, "required": [ "family_name" ], "type": "object" }, "TestUser": { "additionalProperties": true, "properties": { "Baz": { "foo": "bar", "hello": "world", "type": "string" }, "PublicNonExported": { "type": "integer" }, "SomeUntaggedBaseProperty": { "type": "boolean" }, "TestFlag": { "type": "boolean" }, "age": { "exclusiveMaximum": true, "exclusiveMinimum": true, "maximum": 120, "minimum": 18, "type": "integer" }, "birth_date": { "format": "date-time", "type": "string" }, "color": { "enum": [ "red", "green", "blue" ], "type": "string" }, "email": { "format": "email", "type": "string" }, "feeling": { "oneOf": [ { "type": "string" }, { "type": "integer" } ] }, "friends": { "description": "list of IDs, omitted when empty", "items": { "type": "integer" }, "type": "array" }, "grand": { "$ref": "#/definitions/GrandfatherType", "$schema": "http://json-schema.org/draft-04/schema#" }, "id": { "type": "integer" }, "mult": { "enum": [ 1, 1.5, 2 ], "type": "number" }, "name": { "default": "alex", "description": "this is a property", "examples": [ "joe", "lucy" ], "maxLength": 20, "minLength": 1, "pattern": ".*", "title": "the name", "type": "string" }, "network_address": { "format": "ipv4", "type": "string" }, "photo": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "rank": { "enum": [ 1, 2, 3 ], "type": "integer" }, "some_base_property": { "type": "integer" }, "some_base_property_yaml": { "type": "integer" }, "tags": { "patternProperties": { ".*": { "additionalProperties": true } }, "type": "object" }, "website": { "format": "uri", "type": "string" } }, "required": [ "some_base_property", "some_base_property_yaml", "grand", "SomeUntaggedBaseProperty", "PublicNonExported", "id", "name", "TestFlag", "age", "email", "Baz", "color" ], "type": "object" } } }
MIT
en
invopop/jsonschema
fa819247876e6b20293e57d3eb98afed476e5a43
2022-05-09T22:09:34
fixtures/inlining_inheritance.json
457
2024-05-27T06:45:28.205821Z
{ "$id": "https://github.com/invopop/jsonschema/outer", "$schema": "http://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": { "Foo": { "type": "string" }, "Text": { "type": "string" }, "TextNamed": { "type": "string" } }, "required": [ "TextNamed", "Foo" ], "type": "object" }
MIT
en
invopop/jsonschema
3330865a0c6b1813bd90bd6255752e15bba096fe
2022-02-15T00:08:52
fixtures/custom_slice_type.json
457
2024-05-27T06:45:28.205821Z
{ "$defs": { "CustomSliceOuter": { "additionalProperties": false, "properties": { "slice": { "$ref": "#/$defs/CustomSliceType" } }, "required": [ "slice" ], "type": "object" }, "CustomSliceType": { "oneOf": [ { "type": "string" }, { "items": { "type": "string" }, "type": "array" } ] } }, "$id": "https://github.com/invopop/jsonschema/custom-slice-outer", "$ref": "#/$defs/CustomSliceOuter", "$schema": "http://json-schema.org/draft/2020-12/schema" }
MIT
en
invopop/jsonschema
83a598aac4a08e3c6edb184fd40b3c690fd3f3a7
2022-07-21T22:47:45
fixtures/lookup_expanded.json
457
2024-05-27T06:45:28.205821Z
{ "$anchor": "LookupUser", "$id": "https://example.com/schemas/lookup-user", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": { "alias": { "type": "string" }, "name": { "$ref": "https://example.com/schemas/lookup-name" } }, "required": [ "name" ], "type": "object" }
MIT
en
invopop/jsonschema
fa80106e9fdaa7d66907c3db40628503a0528810
2019-04-27T06:12:45
fixtures/defaults_expanded_toplevel.json
457
2024-05-27T06:45:28.205821Z
{ "$schema": "http://json-schema.org/draft-04/schema#", "additionalProperties": false, "definitions": { "GrandfatherType": { "additionalProperties": false, "properties": { "family_name": { "type": "string" } }, "required": [ "family_name" ], "type": "object" } }, "properties": { "SomeUntaggedBaseProperty": { "type": "boolean" }, "TestFlag": { "type": "boolean" }, "age": { "exclusiveMaximum": true, "exclusiveMinimum": true, "maximum": 120, "minimum": 18, "type": "integer" }, "birth_date": { "format": "date-time", "type": "string" }, "email": { "format": "email", "type": "string" }, "feeling": { "oneOf": [ { "type": "string" }, { "type": "integer" } ] }, "friends": { "description": "list of IDs, omitted when empty", "items": { "type": "integer" }, "type": "array" }, "grand": { "$ref": "#/definitions/GrandfatherType", "$schema": "http://json-schema.org/draft-04/schema#" }, "id": { "type": "integer" }, "name": { "default": "alex", "description": "this is a property", "examples": [ "joe", "lucy" ], "maxLength": 20, "minLength": 1, "pattern": ".*", "title": "the name", "type": "string" }, "network_address": { "format": "ipv4", "type": "string" }, "photo": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "some_base_property": { "type": "integer" }, "some_base_property_yaml": { "type": "integer" }, "tags": { "patternProperties": { ".*": { "additionalProperties": true, "type": "object" } }, "type": "object" }, "website": { "format": "uri", "type": "string" } }, "required": [ "some_base_property", "some_base_property_yaml", "grand", "SomeUntaggedBaseProperty", "id", "name", "TestFlag", "age", "email" ], "type": "object" }
MIT
en
invopop/jsonschema
3330865a0c6b1813bd90bd6255752e15bba096fe
2022-02-15T00:08:52
fixtures/nullable.json
457
2024-05-27T06:45:28.205821Z
{ "$defs": { "TestNullable": { "additionalProperties": false, "properties": { "child1": { "oneOf": [ { "type": "string" }, { "type": "null" } ] } }, "required": [ "child1" ], "type": "object" } }, "$id": "https://github.com/invopop/jsonschema/test-nullable", "$ref": "#/$defs/TestNullable", "$schema": "http://json-schema.org/draft/2020-12/schema" }
MIT
en
invopop/jsonschema
fd8d96416671e33ef79358139312e88557a8aaab
2019-05-30T23:57:21
fixtures/required_from_jsontags.json
457
2024-05-27T06:45:28.205821Z
{ "$ref": "#/definitions/TestUser", "$schema": "http://json-schema.org/draft-04/schema#", "definitions": { "GrandfatherType": { "additionalProperties": false, "properties": { "family_name": { "type": "string" } }, "required": [ "family_name" ], "type": "object" }, "TestUser": { "additionalProperties": false, "properties": { "PublicNonExported": { "type": "integer" }, "SomeUntaggedBaseProperty": { "type": "boolean" }, "TestFlag": { "type": "boolean" }, "age": { "exclusiveMaximum": true, "exclusiveMinimum": true, "maximum": 120, "minimum": 18, "type": "integer" }, "birth_date": { "format": "date-time", "type": "string" }, "email": { "format": "email", "type": "string" }, "feeling": { "oneOf": [ { "type": "string" }, { "type": "integer" } ] }, "friends": { "description": "list of IDs, omitted when empty", "items": { "type": "integer" }, "type": "array" }, "grand": { "$ref": "#/definitions/GrandfatherType", "$schema": "http://json-schema.org/draft-04/schema#" }, "id": { "type": "integer" }, "name": { "default": "alex", "description": "this is a property", "examples": [ "joe", "lucy" ], "maxLength": 20, "minLength": 1, "pattern": ".*", "title": "the name", "type": "string" }, "network_address": { "format": "ipv4", "type": "string" }, "photo": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "some_base_property": { "type": "integer" }, "some_base_property_yaml": { "type": "integer" }, "tags": { "patternProperties": { ".*": { "additionalProperties": true, "type": "object" } }, "type": "object" }, "website": { "format": "uri", "type": "string" } }, "required": [ "SomeUntaggedBaseProperty", "id", "name", "photo" ], "type": "object" } } }
MIT
en
invopop/jsonschema
fa819247876e6b20293e57d3eb98afed476e5a43
2022-05-09T22:09:34
fixtures/inlining_embedded_anchored.json
457
2024-05-27T06:45:28.205821Z
{ "$anchor": "OuterNamed", "$defs": { "Inner": { "$anchor": "Inner", "additionalProperties": false, "properties": { "Foo": { "type": "string" } }, "required": [ "Foo" ], "type": "object" } }, "$id": "https://github.com/invopop/jsonschema/outer-named", "$schema": "http://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": { "inner": { "$ref": "#/$defs/Inner" }, "text": { "type": "string" } }, "required": [ "inner" ], "type": "object" }
MIT
en
invopop/jsonschema
a176ac1737cd502905bb0b77d36a89d0b3bfeee1
2022-02-13T15:49:12
fixtures/oneof.json
457
2024-05-27T06:45:28.205821Z
{ "$defs": { "ChildOneOf": { "additionalProperties": false, "oneOf": [ { "required": [ "child1", "child4" ], "title": "group1" }, { "required": [ "child2", "child3" ], "title": "group2" } ], "properties": { "child1": { "type": "string" }, "child2": { "type": "string" }, "child3": { "additionalProperties": true, "oneOf": [ { "type": "string" }, { "type": "array" } ] }, "child4": { "type": "string" } }, "type": "object" }, "RootOneOf": { "additionalProperties": false, "oneOf": [ { "required": [ "field1", "field4" ], "title": "group1" }, { "required": [ "field2" ], "title": "group2" } ], "properties": { "child": { "$ref": "#/$defs/ChildOneOf", "$schema": "http://json-schema.org/draft/2020-12/schema" }, "field1": { "type": "string" }, "field2": { "type": "string" }, "field3": { "additionalProperties": true, "oneOf": [ { "type": "string" }, { "type": "array" } ] }, "field4": { "type": "string" } }, "type": "object" } }, "$ref": "#/$defs/RootOneOf", "$schema": "http://json-schema.org/draft/2020-12/schema" }
MIT
en
invopop/jsonschema
12cbc49539c8deac9baeae7811fdcab42fd5def0
2023-10-04T08:45:54
fixtures/test_user.json
457
2024-05-27T06:45:28.205821Z
{ "$defs": { "Bytes": { "contentEncoding": "base64", "type": "string" }, "GrandfatherType": { "additionalProperties": false, "properties": { "family_name": { "type": "string" } }, "required": [ "family_name" ], "type": "object" }, "MapType": { "type": "object" }, "TestUser": { "additionalProperties": false, "properties": { "Baz": { "foo": [ "bar", "bar1" ], "hello": "world", "type": "string" }, "MapType": { "$ref": "#/$defs/MapType" }, "PublicNonExported": { "type": "integer" }, "SomeUntaggedBaseProperty": { "type": "boolean" }, "TestFlag": { "type": "boolean" }, "TestFlagFalse": { "default": false, "type": "boolean" }, "TestFlagTrue": { "default": true, "type": "boolean" }, "age": { "exclusiveMaximum": 121, "exclusiveMinimum": 17, "maximum": 120, "minimum": 18, "type": "integer" }, "anything": true, "birth_date": { "format": "date-time", "type": "string" }, "bool_extra": { "isFalse": false, "isTrue": true, "type": "string" }, "color": { "enum": [ "red", "green", "blue" ], "type": "string" }, "email": { "format": "email", "type": "string" }, "feeling": { "oneOf": [ { "type": "string" }, { "type": "integer" } ] }, "friends": { "description": "list of IDs, omitted when empty", "items": { "type": "integer" }, "type": "array" }, "grand": { "$ref": "#/$defs/GrandfatherType" }, "id": { "type": "integer" }, "mult": { "enum": [ 1.0, 1.5, 2.0 ], "type": "number" }, "name": { "default": "alex", "description": "this is a property", "examples": [ "joe", "lucy" ], "maxLength": 20, "minLength": 1, "pattern": ".*", "readOnly": true, "title": "the name", "type": "string" }, "network_address": { "format": "ipv4", "type": "string" }, "offsets": { "items": { "enum": [ 1.570796, 3.141592, 6.283185 ], "type": "number" }, "type": "array" }, "options": { "type": "object" }, "password": { "type": "string", "writeOnly": true }, "photo": { "contentEncoding": "base64", "type": "string" }, "photo2": { "$ref": "#/$defs/Bytes" }, "priorities": { "items": { "enum": [ -1, 0, 1 ], "type": "integer" }, "type": "array" }, "rank": { "enum": [ 1, 2, 3 ], "type": "integer" }, "raw": true, "roles": { "items": { "enum": [ "admin", "moderator", "user" ], "type": "string" }, "type": "array" }, "some_base_property": { "type": "integer" }, "tags": { "additionalProperties": { "type": "string" }, "type": "object" }, "uuid": { "format": "uuid", "type": "string" }, "website": { "format": "uri", "type": "string" } }, "required": [ "id", "some_base_property", "grand", "SomeUntaggedBaseProperty", "PublicNonExported", "MapType", "name", "password", "TestFlag", "photo", "photo2", "age", "email", "uuid", "Baz", "color", "roles", "raw" ], "type": "object" } }, "$id": "https://github.com/invopop/jsonschema/test-user", "$ref": "#/$defs/TestUser", "$schema": "https://json-schema.org/draft/2020-12/schema" }
MIT
en
invopop/jsonschema
83a598aac4a08e3c6edb184fd40b3c690fd3f3a7
2022-07-21T22:47:45
fixtures/inlining_embedded_anchored.json
457
2024-05-27T06:45:28.205821Z
{ "$anchor": "OuterNamed", "$defs": { "Inner": { "$anchor": "Inner", "additionalProperties": false, "properties": { "Foo": { "type": "string" } }, "required": [ "Foo" ], "type": "object" } }, "$id": "https://github.com/invopop/jsonschema/outer-named", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": { "inner": { "$ref": "#/$defs/Inner" }, "text": { "type": "string" } }, "required": [ "inner" ], "type": "object" }
MIT
en
invopop/jsonschema
787cd8204a0da0e8654528ce47675c636893bfe7
2021-09-20T00:02:43
fixtures/required_from_jsontags.json
457
2024-05-27T06:45:28.205821Z
{ "$ref": "#/definitions/TestUser", "$schema": "http://json-schema.org/draft-04/schema#", "definitions": { "GrandfatherType": { "additionalProperties": false, "properties": { "family_name": { "type": "string" } }, "required": [ "family_name" ], "type": "object" }, "TestUser": { "additionalProperties": false, "properties": { "Baz": { "foo": [ "bar", "bar1" ], "hello": "world", "type": "string" }, "PublicNonExported": { "type": "integer" }, "SomeUntaggedBaseProperty": { "type": "boolean" }, "TestFlag": { "type": "boolean" }, "age": { "exclusiveMaximum": true, "exclusiveMinimum": true, "maximum": 120, "minimum": 18, "type": "integer" }, "birth_date": { "format": "date-time", "type": "string" }, "color": { "enum": [ "red", "green", "blue" ], "type": "string" }, "email": { "format": "email", "type": "string" }, "feeling": { "oneOf": [ { "type": "string" }, { "type": "integer" } ] }, "friends": { "description": "list of IDs, omitted when empty", "items": { "type": "integer" }, "type": "array" }, "grand": { "$ref": "#/definitions/GrandfatherType", "$schema": "http://json-schema.org/draft-04/schema#" }, "id": { "type": "integer" }, "mult": { "enum": [ 1, 1.5, 2 ], "type": "number" }, "name": { "default": "alex", "description": "this is a property", "examples": [ "joe", "lucy" ], "maxLength": 20, "minLength": 1, "pattern": ".*", "title": "the name", "type": "string" }, "network_address": { "format": "ipv4", "type": "string" }, "offsets": { "items": { "enum": [ 1.570796, 3.141592, 6.283185 ], "type": "number" }, "type": "array" }, "photo": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "photo2": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "priorities": { "items": { "enum": [ -1, 0, 1 ], "type": "integer" }, "type": "array" }, "rank": { "enum": [ 1, 2, 3 ], "type": "integer" }, "raw": { "additionalProperties": true }, "roles": { "items": { "enum": [ "admin", "moderator", "user" ], "type": "string" }, "type": "array" }, "some_base_property": { "type": "integer" }, "some_base_property_yaml": { "type": "integer" }, "tags": { "patternProperties": { ".*": { "additionalProperties": true } }, "type": "object" }, "website": { "format": "uri", "type": "string" } }, "required": [ "SomeUntaggedBaseProperty", "id", "name", "photo", "photo2" ], "type": "object" } } }
MIT
en
invopop/jsonschema
853c02c7eaa2212dbd4958313604f48026650c1a
2020-01-23T07:54:51
fixtures/oneof.json
457
2024-05-27T06:45:28.205821Z
{ "$ref": "#/definitions/RootOneOf", "$schema": "http://json-schema.org/draft-04/schema#", "definitions": { "ChildOneOf": { "additionalProperties": false, "oneOf": [ { "required": [ "child1", "child4" ], "title": "group1" }, { "required": [ "child2", "child3" ], "title": "group2" } ], "properties": { "child1": { "type": "string" }, "child2": { "type": "string" }, "child3": { "additionalProperties": true, "oneOf": [ { "type": "string" }, { "type": "array" } ] }, "child4": { "type": "string" } }, "type": "object" }, "RootOneOf": { "additionalProperties": false, "oneOf": [ { "required": [ "field1", "field4" ], "title": "group1" }, { "required": [ "field2" ], "title": "group2" } ], "properties": { "child": { "$ref": "#/definitions/ChildOneOf", "$schema": "http://json-schema.org/draft-04/schema#" }, "field1": { "type": "string" }, "field2": { "type": "string" }, "field3": { "additionalProperties": true, "oneOf": [ { "type": "string" }, { "type": "array" } ] }, "field4": { "type": "string" } }, "type": "object" } } }
MIT
en
invopop/jsonschema
a176ac1737cd502905bb0b77d36a89d0b3bfeee1
2022-02-13T15:49:12
fixtures/custom_additional.json
457
2024-05-27T06:45:28.205821Z
{ "$defs": { "GrandfatherType": { "additionalProperties": false, "properties": { "family_name": { "type": "string" }, "ip_addr": { "format": "ipv4", "type": "string" } }, "required": [ "family_name", "ip_addr" ], "type": "object" } }, "$ref": "#/$defs/GrandfatherType", "$schema": "http://json-schema.org/draft/2020-12/schema" }
MIT
en
invopop/jsonschema
42cb9b014a9687f68669cb5071d1bb48f81b681a
2020-01-27T00:55:49
fixtures/ignore_type.json
457
2024-05-27T06:45:28.205821Z
{ "$ref": "#/definitions/TestUser", "$schema": "http://json-schema.org/draft-04/schema#", "definitions": { "GrandfatherType": { "additionalProperties": true, "properties": {}, "type": "object" }, "TestUser": { "additionalProperties": false, "properties": { "PublicNonExported": { "type": "integer" }, "SomeUntaggedBaseProperty": { "type": "boolean" }, "TestFlag": { "type": "boolean" }, "age": { "exclusiveMaximum": true, "exclusiveMinimum": true, "maximum": 120, "minimum": 18, "type": "integer" }, "birth_date": { "format": "date-time", "type": "string" }, "email": { "format": "email", "type": "string" }, "feeling": { "oneOf": [ { "type": "string" }, { "type": "integer" } ] }, "friends": { "description": "list of IDs, omitted when empty", "items": { "type": "integer" }, "type": "array" }, "grand": { "$ref": "#/definitions/GrandfatherType", "$schema": "http://json-schema.org/draft-04/schema#" }, "id": { "type": "integer" }, "name": { "default": "alex", "description": "this is a property", "examples": [ "joe", "lucy" ], "maxLength": 20, "minLength": 1, "pattern": ".*", "title": "the name", "type": "string" }, "network_address": { "format": "ipv4", "type": "string" }, "photo": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "some_base_property": { "type": "integer" }, "some_base_property_yaml": { "type": "integer" }, "tags": { "patternProperties": { ".*": { "additionalProperties": true, "type": "object" } }, "type": "object" }, "website": { "format": "uri", "type": "string" } }, "required": [ "some_base_property", "some_base_property_yaml", "grand", "SomeUntaggedBaseProperty", "PublicNonExported", "id", "name", "TestFlag", "age", "email" ], "type": "object" } } }
MIT
en
invopop/jsonschema
787cd8204a0da0e8654528ce47675c636893bfe7
2021-09-20T00:02:43
fixtures/ignore_type.json
457
2024-05-27T06:45:28.205821Z
{ "$ref": "#/definitions/TestUser", "$schema": "http://json-schema.org/draft-04/schema#", "definitions": { "GrandfatherType": { "additionalProperties": true, "properties": {}, "type": "object" }, "TestUser": { "additionalProperties": false, "properties": { "Baz": { "foo": [ "bar", "bar1" ], "hello": "world", "type": "string" }, "PublicNonExported": { "type": "integer" }, "SomeUntaggedBaseProperty": { "type": "boolean" }, "TestFlag": { "type": "boolean" }, "age": { "exclusiveMaximum": true, "exclusiveMinimum": true, "maximum": 120, "minimum": 18, "type": "integer" }, "birth_date": { "format": "date-time", "type": "string" }, "color": { "enum": [ "red", "green", "blue" ], "type": "string" }, "email": { "format": "email", "type": "string" }, "feeling": { "oneOf": [ { "type": "string" }, { "type": "integer" } ] }, "friends": { "description": "list of IDs, omitted when empty", "items": { "type": "integer" }, "type": "array" }, "grand": { "$ref": "#/definitions/GrandfatherType", "$schema": "http://json-schema.org/draft-04/schema#" }, "id": { "type": "integer" }, "mult": { "enum": [ 1, 1.5, 2 ], "type": "number" }, "name": { "default": "alex", "description": "this is a property", "examples": [ "joe", "lucy" ], "maxLength": 20, "minLength": 1, "pattern": ".*", "title": "the name", "type": "string" }, "network_address": { "format": "ipv4", "type": "string" }, "offsets": { "items": { "enum": [ 1.570796, 3.141592, 6.283185 ], "type": "number" }, "type": "array" }, "photo": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "photo2": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "priorities": { "items": { "enum": [ -1, 0, 1 ], "type": "integer" }, "type": "array" }, "rank": { "enum": [ 1, 2, 3 ], "type": "integer" }, "raw": { "additionalProperties": true }, "roles": { "items": { "enum": [ "admin", "moderator", "user" ], "type": "string" }, "type": "array" }, "some_base_property": { "type": "integer" }, "some_base_property_yaml": { "type": "integer" }, "tags": { "patternProperties": { ".*": { "additionalProperties": true } }, "type": "object" }, "website": { "format": "uri", "type": "string" } }, "required": [ "some_base_property", "some_base_property_yaml", "grand", "SomeUntaggedBaseProperty", "PublicNonExported", "id", "name", "TestFlag", "age", "email", "Baz", "color", "roles", "raw" ], "type": "object" } } }
MIT
en
invopop/jsonschema
42cb9b014a9687f68669cb5071d1bb48f81b681a
2020-01-27T00:55:49
fixtures/required_from_jsontags.json
457
2024-05-27T06:45:28.205821Z
{ "$ref": "#/definitions/TestUser", "$schema": "http://json-schema.org/draft-04/schema#", "definitions": { "GrandfatherType": { "additionalProperties": false, "properties": { "family_name": { "type": "string" } }, "required": [ "family_name" ], "type": "object" }, "TestUser": { "additionalProperties": false, "properties": { "PublicNonExported": { "type": "integer" }, "SomeUntaggedBaseProperty": { "type": "boolean" }, "TestFlag": { "type": "boolean" }, "age": { "exclusiveMaximum": true, "exclusiveMinimum": true, "maximum": 120, "minimum": 18, "type": "integer" }, "birth_date": { "format": "date-time", "type": "string" }, "email": { "format": "email", "type": "string" }, "feeling": { "oneOf": [ { "type": "string" }, { "type": "integer" } ] }, "friends": { "description": "list of IDs, omitted when empty", "items": { "type": "integer" }, "type": "array" }, "grand": { "$ref": "#/definitions/GrandfatherType", "$schema": "http://json-schema.org/draft-04/schema#" }, "id": { "type": "integer" }, "name": { "default": "alex", "description": "this is a property", "examples": [ "joe", "lucy" ], "maxLength": 20, "minLength": 1, "pattern": ".*", "title": "the name", "type": "string" }, "network_address": { "format": "ipv4", "type": "string" }, "photo": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "some_base_property": { "type": "integer" }, "some_base_property_yaml": { "type": "integer" }, "tags": { "patternProperties": { ".*": { "additionalProperties": true, "type": "object" } }, "type": "object" }, "website": { "format": "uri", "type": "string" } }, "required": [ "SomeUntaggedBaseProperty", "id", "name", "photo" ], "type": "object" } } }
MIT
en
invopop/jsonschema
12cbc49539c8deac9baeae7811fdcab42fd5def0
2023-10-04T08:45:54
fixtures/array_handling.json
457
2024-05-27T06:45:28.205821Z
{ "$defs": { "ArrayHandler": { "additionalProperties": false, "properties": { "min_len": { "default": [ "qwerty" ], "items": { "minLength": 2, "type": "string" }, "type": "array" }, "min_val": { "items": { "minimum": 2.5, "type": "number" }, "type": "array" } }, "required": [ "min_len", "min_val" ], "type": "object" } }, "$id": "https://github.com/invopop/jsonschema/array-handler", "$ref": "#/$defs/ArrayHandler", "$schema": "https://json-schema.org/draft/2020-12/schema" }
MIT
en
invopop/jsonschema
12cbc49539c8deac9baeae7811fdcab42fd5def0
2023-10-04T08:45:54
fixtures/defaults_expanded_toplevel.json
457
2024-05-27T06:45:28.205821Z
{ "$defs": { "Bytes": { "contentEncoding": "base64", "type": "string" }, "GrandfatherType": { "additionalProperties": false, "properties": { "family_name": { "type": "string" } }, "required": [ "family_name" ], "type": "object" }, "MapType": { "type": "object" } }, "$id": "https://github.com/invopop/jsonschema/test-user", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": { "Baz": { "foo": [ "bar", "bar1" ], "hello": "world", "type": "string" }, "MapType": { "$ref": "#/$defs/MapType" }, "PublicNonExported": { "type": "integer" }, "SomeUntaggedBaseProperty": { "type": "boolean" }, "TestFlag": { "type": "boolean" }, "TestFlagFalse": { "default": false, "type": "boolean" }, "TestFlagTrue": { "default": true, "type": "boolean" }, "age": { "exclusiveMaximum": 121, "exclusiveMinimum": 17, "maximum": 120, "minimum": 18, "type": "integer" }, "anything": true, "birth_date": { "format": "date-time", "type": "string" }, "bool_extra": { "isFalse": false, "isTrue": true, "type": "string" }, "color": { "enum": [ "red", "green", "blue" ], "type": "string" }, "email": { "format": "email", "type": "string" }, "feeling": { "oneOf": [ { "type": "string" }, { "type": "integer" } ] }, "friends": { "description": "list of IDs, omitted when empty", "items": { "type": "integer" }, "type": "array" }, "grand": { "$ref": "#/$defs/GrandfatherType" }, "id": { "type": "integer" }, "mult": { "enum": [ 1.0, 1.5, 2.0 ], "type": "number" }, "name": { "default": "alex", "description": "this is a property", "examples": [ "joe", "lucy" ], "maxLength": 20, "minLength": 1, "pattern": ".*", "readOnly": true, "title": "the name", "type": "string" }, "network_address": { "format": "ipv4", "type": "string" }, "offsets": { "items": { "enum": [ 1.570796, 3.141592, 6.283185 ], "type": "number" }, "type": "array" }, "options": { "type": "object" }, "password": { "type": "string", "writeOnly": true }, "photo": { "contentEncoding": "base64", "type": "string" }, "photo2": { "$ref": "#/$defs/Bytes" }, "priorities": { "items": { "enum": [ -1, 0, 1 ], "type": "integer" }, "type": "array" }, "rank": { "enum": [ 1, 2, 3 ], "type": "integer" }, "raw": true, "roles": { "items": { "enum": [ "admin", "moderator", "user" ], "type": "string" }, "type": "array" }, "some_base_property": { "type": "integer" }, "tags": { "additionalProperties": { "type": "string" }, "type": "object" }, "uuid": { "format": "uuid", "type": "string" }, "website": { "format": "uri", "type": "string" } }, "required": [ "id", "some_base_property", "grand", "SomeUntaggedBaseProperty", "PublicNonExported", "MapType", "name", "password", "TestFlag", "photo", "photo2", "age", "email", "uuid", "Baz", "color", "roles", "raw" ], "type": "object" }
MIT
en
invopop/jsonschema
6445b878e3f67752ccd7b31fc38c0842998f9f8b
2022-05-09T22:18:43
fixtures/map_type.json
457
2024-05-27T06:45:28.205821Z
{ "$defs": { "MapType": { "type": "object" } }, "$id": "https://github.com/invopop/jsonschema/map-type", "$ref": "#/$defs/MapType", "$schema": "http://json-schema.org/draft/2020-12/schema" }
MIT
en
invopop/jsonschema
1014919a589cb62aa9287aebd5a841726661e3ed
2021-08-18T09:53:45
fixtures/ignore_type.json
457
2024-05-27T06:45:28.205821Z
{ "$ref": "#/definitions/TestUser", "$schema": "http://json-schema.org/draft-04/schema#", "definitions": { "GrandfatherType": { "additionalProperties": true, "properties": {}, "type": "object" }, "TestUser": { "additionalProperties": false, "properties": { "Baz": { "foo": [ "bar", "bar1" ], "hello": "world", "type": "string" }, "PublicNonExported": { "type": "integer" }, "SomeUntaggedBaseProperty": { "type": "boolean" }, "TestFlag": { "type": "boolean" }, "age": { "exclusiveMaximum": true, "exclusiveMinimum": true, "maximum": 120, "minimum": 18, "type": "integer" }, "birth_date": { "format": "date-time", "type": "string" }, "color": { "enum": [ "red", "green", "blue" ], "type": "string" }, "email": { "format": "email", "type": "string" }, "feeling": { "oneOf": [ { "type": "string" }, { "type": "integer" } ] }, "friends": { "description": "list of IDs, omitted when empty", "items": { "type": "integer" }, "type": "array" }, "grand": { "$ref": "#/definitions/GrandfatherType", "$schema": "http://json-schema.org/draft-04/schema#" }, "id": { "type": "integer" }, "mult": { "enum": [ 1, 1.5, 2 ], "type": "number" }, "name": { "default": "alex", "description": "this is a property", "examples": [ "joe", "lucy" ], "maxLength": 20, "minLength": 1, "pattern": ".*", "title": "the name", "type": "string" }, "network_address": { "format": "ipv4", "type": "string" }, "offsets": { "items": { "enum": [ 1.570796, 3.141592, 6.283185 ], "type": "number" }, "type": "array" }, "photo": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "photo2": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "priorities": { "items": { "enum": [ -1, 0, 1 ], "type": "integer" }, "type": "array" }, "rank": { "enum": [ 1, 2, 3 ], "type": "integer" }, "roles": { "items": { "enum": [ "admin", "moderator", "user" ], "type": "string" }, "type": "array" }, "some_base_property": { "type": "integer" }, "some_base_property_yaml": { "type": "integer" }, "tags": { "patternProperties": { ".*": { "additionalProperties": true } }, "type": "object" }, "website": { "format": "uri", "type": "string" } }, "required": [ "some_base_property", "some_base_property_yaml", "grand", "SomeUntaggedBaseProperty", "PublicNonExported", "id", "name", "TestFlag", "age", "email", "Baz", "color", "roles" ], "type": "object" } } }
MIT
en
invopop/jsonschema
a176ac1737cd502905bb0b77d36a89d0b3bfeee1
2022-02-13T15:49:12
fixtures/schema_with_minimum.json
457
2024-05-27T06:45:28.205821Z
{ "$defs": { "MinValue": { "additionalProperties": false, "properties": { "value4": { "minimum": 0, "type": "integer" } }, "required": [ "value4" ], "type": "object" } }, "$ref": "#/$defs/MinValue", "$schema": "http://json-schema.org/draft/2020-12/schema" }
MIT
en
invopop/jsonschema
12cbc49539c8deac9baeae7811fdcab42fd5def0
2023-10-04T08:45:54
fixtures/ignore_type.json
457
2024-05-27T06:45:28.205821Z
{ "$defs": { "Bytes": { "contentEncoding": "base64", "type": "string" }, "GrandfatherType": { "additionalProperties": false, "properties": {}, "type": "object" }, "MapType": { "type": "object" }, "TestUser": { "additionalProperties": false, "properties": { "Baz": { "foo": [ "bar", "bar1" ], "hello": "world", "type": "string" }, "MapType": { "$ref": "#/$defs/MapType" }, "PublicNonExported": { "type": "integer" }, "SomeUntaggedBaseProperty": { "type": "boolean" }, "TestFlag": { "type": "boolean" }, "TestFlagFalse": { "default": false, "type": "boolean" }, "TestFlagTrue": { "default": true, "type": "boolean" }, "age": { "exclusiveMaximum": 121, "exclusiveMinimum": 17, "maximum": 120, "minimum": 18, "type": "integer" }, "anything": true, "birth_date": { "format": "date-time", "type": "string" }, "bool_extra": { "isFalse": false, "isTrue": true, "type": "string" }, "color": { "enum": [ "red", "green", "blue" ], "type": "string" }, "email": { "format": "email", "type": "string" }, "feeling": { "oneOf": [ { "type": "string" }, { "type": "integer" } ] }, "friends": { "description": "list of IDs, omitted when empty", "items": { "type": "integer" }, "type": "array" }, "grand": { "$ref": "#/$defs/GrandfatherType" }, "id": { "type": "integer" }, "mult": { "enum": [ 1.0, 1.5, 2.0 ], "type": "number" }, "name": { "default": "alex", "description": "this is a property", "examples": [ "joe", "lucy" ], "maxLength": 20, "minLength": 1, "pattern": ".*", "readOnly": true, "title": "the name", "type": "string" }, "network_address": { "format": "ipv4", "type": "string" }, "offsets": { "items": { "enum": [ 1.570796, 3.141592, 6.283185 ], "type": "number" }, "type": "array" }, "options": { "type": "object" }, "password": { "type": "string", "writeOnly": true }, "photo": { "contentEncoding": "base64", "type": "string" }, "photo2": { "$ref": "#/$defs/Bytes" }, "priorities": { "items": { "enum": [ -1, 0, 1 ], "type": "integer" }, "type": "array" }, "rank": { "enum": [ 1, 2, 3 ], "type": "integer" }, "raw": true, "roles": { "items": { "enum": [ "admin", "moderator", "user" ], "type": "string" }, "type": "array" }, "some_base_property": { "type": "integer" }, "tags": { "additionalProperties": { "type": "string" }, "type": "object" }, "uuid": { "format": "uuid", "type": "string" }, "website": { "format": "uri", "type": "string" } }, "required": [ "id", "some_base_property", "grand", "SomeUntaggedBaseProperty", "PublicNonExported", "MapType", "name", "password", "TestFlag", "photo", "photo2", "age", "email", "uuid", "Baz", "color", "roles", "raw" ], "type": "object" } }, "$id": "https://github.com/invopop/jsonschema/test-user", "$ref": "#/$defs/TestUser", "$schema": "https://json-schema.org/draft/2020-12/schema" }
MIT
en
invopop/jsonschema
530c7ec495a44ba3d94c5b49a19f1e278959af3b
2020-01-27T19:28:18
fixtures/allow_additional_props.json
457
2024-05-27T06:45:28.205821Z
{ "$ref": "#/definitions/TestUser", "$schema": "http://json-schema.org/draft-04/schema#", "definitions": { "GrandfatherType": { "additionalProperties": true, "properties": { "family_name": { "type": "string" } }, "required": [ "family_name" ], "type": "object" }, "TestUser": { "additionalProperties": true, "properties": { "Baz": { "foo": "bar", "hello": "world", "type": "string" }, "PublicNonExported": { "type": "integer" }, "SomeUntaggedBaseProperty": { "type": "boolean" }, "TestFlag": { "type": "boolean" }, "age": { "exclusiveMaximum": true, "exclusiveMinimum": true, "maximum": 120, "minimum": 18, "type": "integer" }, "birth_date": { "format": "date-time", "type": "string" }, "email": { "format": "email", "type": "string" }, "feeling": { "oneOf": [ { "type": "string" }, { "type": "integer" } ] }, "friends": { "description": "list of IDs, omitted when empty", "items": { "type": "integer" }, "type": "array" }, "grand": { "$ref": "#/definitions/GrandfatherType", "$schema": "http://json-schema.org/draft-04/schema#" }, "id": { "type": "integer" }, "name": { "default": "alex", "description": "this is a property", "examples": [ "joe", "lucy" ], "maxLength": 20, "minLength": 1, "pattern": ".*", "title": "the name", "type": "string" }, "network_address": { "format": "ipv4", "type": "string" }, "photo": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "some_base_property": { "type": "integer" }, "some_base_property_yaml": { "type": "integer" }, "tags": { "patternProperties": { ".*": { "additionalProperties": true, "type": "object" } }, "type": "object" }, "website": { "format": "uri", "type": "string" } }, "required": [ "some_base_property", "some_base_property_yaml", "grand", "SomeUntaggedBaseProperty", "PublicNonExported", "id", "name", "TestFlag", "age", "email" ], "type": "object" } } }
MIT
en
invopop/jsonschema
fa819247876e6b20293e57d3eb98afed476e5a43
2022-05-09T22:09:34
fixtures/keynamed.json
457
2024-05-27T06:45:28.205821Z
{ "$defs": { "KeyNamed": { "additionalProperties": false, "properties": { "20.01": { "description": "Description was preserved", "type": "integer" }, "ThisWasLeftAsIs": { "type": "string" }, "coming_from_json_tag": { "type": "boolean" }, "nested_not_renamed": { "$ref": "#/$defs/KeyNamedNested" }, "\u2728unicode\u2728 s\u0338\u035d\u0325h\u0337\u0352\u0333e\u0334\u033d\u031cn\u0338\u033f\u0321a\u0337\u0314\u0318n\u0337\u0350\u0318i\u0336\u0310\u032bg\u0336\u0341\u032fa\u0335\u0352\u0318n\u0337\u033e\u032es\u0338\u0343\u031f": { "type": "string" } }, "required": [ "ThisWasLeftAsIs", "coming_from_json_tag", "nested_not_renamed", "\u2728unicode\u2728 s\u0338\u035d\u0325h\u0337\u0352\u0333e\u0334\u033d\u031cn\u0338\u033f\u0321a\u0337\u0314\u0318n\u0337\u0350\u0318i\u0336\u0310\u032bg\u0336\u0341\u032fa\u0335\u0352\u0318n\u0337\u033e\u032es\u0338\u0343\u031f", "20.01" ], "type": "object" }, "KeyNamedNested": { "additionalProperties": false, "properties": { "NotRenamed": { "type": "string" }, "nested-renamed-property": { "type": "string" } }, "required": [ "nested-renamed-property", "NotRenamed" ], "type": "object" } }, "$id": "https://github.com/invopop/jsonschema/key-named", "$ref": "#/$defs/KeyNamed", "$schema": "http://json-schema.org/draft/2020-12/schema" }
MIT
en
invopop/jsonschema
3330865a0c6b1813bd90bd6255752e15bba096fe
2022-02-15T00:08:52
fixtures/custom_map_type.json
457
2024-05-27T06:45:28.205821Z
{ "$defs": { "CustomMapOuter": { "additionalProperties": false, "properties": { "my_map": { "$ref": "#/$defs/CustomMapType" } }, "required": [ "my_map" ], "type": "object" }, "CustomMapType": { "items": { "properties": { "key": { "type": "string" }, "value": { "type": "string" } }, "required": [ "key", "value" ], "type": "object" }, "type": "array" } }, "$id": "https://github.com/invopop/jsonschema/custom-map-outer", "$ref": "#/$defs/CustomMapOuter", "$schema": "http://json-schema.org/draft/2020-12/schema" }
MIT
en
invopop/jsonschema
a176ac1737cd502905bb0b77d36a89d0b3bfeee1
2022-02-13T15:49:12
fixtures/nullable.json
457
2024-05-27T06:45:28.205821Z
{ "$defs": { "TestNullable": { "additionalProperties": false, "properties": { "child1": { "oneOf": [ { "type": "string" }, { "type": "null" } ] } }, "required": [ "child1" ], "type": "object" } }, "$ref": "#/$defs/TestNullable", "$schema": "http://json-schema.org/draft/2020-12/schema" }
MIT
en
invopop/jsonschema
b0206aa42ef7921e95277fe9f3dc01e1807e0b86
2023-09-25T06:41:32
fixtures/allow_additional_props.json
457
2024-05-27T06:45:28.205821Z
{ "$defs": { "Bytes": { "contentEncoding": "base64", "type": "string" }, "GrandfatherType": { "properties": { "family_name": { "type": "string" } }, "required": [ "family_name" ], "type": "object" }, "MapType": { "type": "object" }, "TestUser": { "properties": { "Baz": { "foo": [ "bar", "bar1" ], "hello": "world", "type": "string" }, "MapType": { "$ref": "#/$defs/MapType" }, "PublicNonExported": { "type": "integer" }, "SomeUntaggedBaseProperty": { "type": "boolean" }, "TestFlag": { "type": "boolean" }, "TestFlagFalse": { "default": false, "type": "boolean" }, "TestFlagTrue": { "default": true, "type": "boolean" }, "age": { "exclusiveMaximum": 121, "exclusiveMinimum": 17, "maximum": 120, "minimum": 18, "type": "integer" }, "anything": true, "birth_date": { "format": "date-time", "type": "string" }, "bool_extra": { "isFalse": false, "isTrue": true, "type": "string" }, "color": { "enum": [ "red", "green", "blue" ], "type": "string" }, "email": { "format": "email", "type": "string" }, "feeling": { "oneOf": [ { "type": "string" }, { "type": "integer" } ] }, "friends": { "description": "list of IDs, omitted when empty", "items": { "type": "integer" }, "type": "array" }, "grand": { "$ref": "#/$defs/GrandfatherType" }, "id": { "type": "integer" }, "mult": { "enum": [ 1, 1.5, 2 ], "type": "number" }, "name": { "default": "alex", "description": "this is a property", "examples": [ "joe", "lucy" ], "maxLength": 20, "minLength": 1, "pattern": ".*", "readOnly": true, "title": "the name", "type": "string" }, "network_address": { "format": "ipv4", "type": "string" }, "offsets": { "items": { "enum": [ 1.570796, 3.141592, 6.283185 ], "type": "number" }, "type": "array" }, "options": { "type": "object" }, "password": { "type": "string", "writeOnly": true }, "photo": { "contentEncoding": "base64", "type": "string" }, "photo2": { "$ref": "#/$defs/Bytes" }, "priorities": { "items": { "enum": [ -1, 0, 1 ], "type": "integer" }, "type": "array" }, "rank": { "enum": [ 1, 2, 3 ], "type": "integer" }, "raw": true, "roles": { "items": { "enum": [ "admin", "moderator", "user" ], "type": "string" }, "type": "array" }, "some_base_property": { "type": "integer" }, "tags": { "additionalProperties": { "type": "string" }, "type": "object" }, "uuid": { "format": "uuid", "type": "string" }, "website": { "format": "uri", "type": "string" } }, "required": [ "id", "some_base_property", "grand", "SomeUntaggedBaseProperty", "PublicNonExported", "MapType", "name", "password", "TestFlag", "photo", "photo2", "age", "email", "uuid", "Baz", "color", "roles", "raw" ], "type": "object" } }, "$id": "https://github.com/invopop/jsonschema/test-user", "$ref": "#/$defs/TestUser", "$schema": "https://json-schema.org/draft/2020-12/schema" }
MIT
en
invopop/jsonschema
787cd8204a0da0e8654528ce47675c636893bfe7
2021-09-20T00:02:43
fixtures/defaults_expanded_toplevel.json
457
2024-05-27T06:45:28.205821Z
{ "$schema": "http://json-schema.org/draft-04/schema#", "additionalProperties": false, "definitions": { "GrandfatherType": { "additionalProperties": false, "properties": { "family_name": { "type": "string" } }, "required": [ "family_name" ], "type": "object" } }, "properties": { "Baz": { "foo": [ "bar", "bar1" ], "hello": "world", "type": "string" }, "PublicNonExported": { "type": "integer" }, "SomeUntaggedBaseProperty": { "type": "boolean" }, "TestFlag": { "type": "boolean" }, "age": { "exclusiveMaximum": true, "exclusiveMinimum": true, "maximum": 120, "minimum": 18, "type": "integer" }, "birth_date": { "format": "date-time", "type": "string" }, "color": { "enum": [ "red", "green", "blue" ], "type": "string" }, "email": { "format": "email", "type": "string" }, "feeling": { "oneOf": [ { "type": "string" }, { "type": "integer" } ] }, "friends": { "description": "list of IDs, omitted when empty", "items": { "type": "integer" }, "type": "array" }, "grand": { "$ref": "#/definitions/GrandfatherType", "$schema": "http://json-schema.org/draft-04/schema#" }, "id": { "type": "integer" }, "mult": { "enum": [ 1.0, 1.5, 2.0 ], "type": "number" }, "name": { "default": "alex", "description": "this is a property", "examples": [ "joe", "lucy" ], "maxLength": 20, "minLength": 1, "pattern": ".*", "title": "the name", "type": "string" }, "network_address": { "format": "ipv4", "type": "string" }, "offsets": { "items": { "enum": [ 1.570796, 3.141592, 6.283185 ], "type": "number" }, "type": "array" }, "photo": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "photo2": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "priorities": { "items": { "enum": [ -1, 0, 1 ], "type": "integer" }, "type": "array" }, "rank": { "enum": [ 1, 2, 3 ], "type": "integer" }, "raw": { "additionalProperties": true }, "roles": { "items": { "enum": [ "admin", "moderator", "user" ], "type": "string" }, "type": "array" }, "some_base_property": { "type": "integer" }, "some_base_property_yaml": { "type": "integer" }, "tags": { "patternProperties": { ".*": { "additionalProperties": true } }, "type": "object" }, "website": { "format": "uri", "type": "string" } }, "required": [ "some_base_property", "some_base_property_yaml", "grand", "SomeUntaggedBaseProperty", "PublicNonExported", "id", "name", "TestFlag", "age", "email", "Baz", "color", "roles", "raw" ], "type": "object" }
MIT
en
invopop/jsonschema
d65fe469b0489087e7f77154846f6fe5e31a0d0b
2020-02-10T11:53:47
fixtures/defaults_expanded_toplevel.json
457
2024-05-27T06:45:28.205821Z
{ "$schema": "http://json-schema.org/draft-04/schema#", "additionalProperties": false, "definitions": { "GrandfatherType": { "additionalProperties": false, "properties": { "family_name": { "type": "string" } }, "required": [ "family_name" ], "type": "object" } }, "properties": { "Baz": { "foo": "bar", "hello": "world", "type": "string" }, "PublicNonExported": { "type": "integer" }, "SomeUntaggedBaseProperty": { "type": "boolean" }, "TestFlag": { "type": "boolean" }, "age": { "exclusiveMaximum": true, "exclusiveMinimum": true, "maximum": 120, "minimum": 18, "type": "integer" }, "birth_date": { "format": "date-time", "type": "string" }, "color": { "enum": [ "red", "green", "blue" ], "type": "string" }, "email": { "format": "email", "type": "string" }, "feeling": { "oneOf": [ { "type": "string" }, { "type": "integer" } ] }, "friends": { "description": "list of IDs, omitted when empty", "items": { "type": "integer" }, "type": "array" }, "grand": { "$ref": "#/definitions/GrandfatherType", "$schema": "http://json-schema.org/draft-04/schema#" }, "id": { "type": "integer" }, "mult": { "enum": [ 1.0, 1.5, 2.0 ], "type": "number" }, "name": { "default": "alex", "description": "this is a property", "examples": [ "joe", "lucy" ], "maxLength": 20, "minLength": 1, "pattern": ".*", "title": "the name", "type": "string" }, "network_address": { "format": "ipv4", "type": "string" }, "photo": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "rank": { "enum": [ 1, 2, 3 ], "type": "integer" }, "some_base_property": { "type": "integer" }, "some_base_property_yaml": { "type": "integer" }, "tags": { "patternProperties": { ".*": { "additionalProperties": true } }, "type": "object" }, "website": { "format": "uri", "type": "string" } }, "required": [ "some_base_property", "some_base_property_yaml", "grand", "SomeUntaggedBaseProperty", "PublicNonExported", "id", "name", "TestFlag", "age", "email", "Baz", "color" ], "type": "object" }
MIT
en
invopop/jsonschema
d29031c5d0877bed761b260142616fa9a701eb4a
2020-11-25T20:17:47
fixtures/defaults_expanded_toplevel.json
457
2024-05-27T06:45:28.205821Z
{ "$schema": "http://json-schema.org/draft-04/schema#", "additionalProperties": false, "definitions": { "GrandfatherType": { "additionalProperties": false, "properties": { "family_name": { "type": "string" } }, "required": [ "family_name" ], "type": "object" } }, "properties": { "Baz": { "foo": [ "bar", "bar1" ], "hello": "world", "type": "string" }, "PublicNonExported": { "type": "integer" }, "SomeUntaggedBaseProperty": { "type": "boolean" }, "TestFlag": { "type": "boolean" }, "age": { "exclusiveMaximum": true, "exclusiveMinimum": true, "maximum": 120, "minimum": 18, "type": "integer" }, "birth_date": { "format": "date-time", "type": "string" }, "color": { "enum": [ "red", "green", "blue" ], "type": "string" }, "email": { "format": "email", "type": "string" }, "feeling": { "oneOf": [ { "type": "string" }, { "type": "integer" } ] }, "friends": { "description": "list of IDs, omitted when empty", "items": { "type": "integer" }, "type": "array" }, "grand": { "$ref": "#/definitions/GrandfatherType", "$schema": "http://json-schema.org/draft-04/schema#" }, "id": { "type": "integer" }, "mult": { "enum": [ 1.0, 1.5, 2.0 ], "type": "number" }, "name": { "default": "alex", "description": "this is a property", "examples": [ "joe", "lucy" ], "maxLength": 20, "minLength": 1, "pattern": ".*", "title": "the name", "type": "string" }, "network_address": { "format": "ipv4", "type": "string" }, "photo": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "photo2": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "rank": { "enum": [ 1, 2, 3 ], "type": "integer" }, "some_base_property": { "type": "integer" }, "some_base_property_yaml": { "type": "integer" }, "tags": { "patternProperties": { ".*": { "additionalProperties": true } }, "type": "object" }, "website": { "format": "uri", "type": "string" } }, "required": [ "some_base_property", "some_base_property_yaml", "grand", "SomeUntaggedBaseProperty", "PublicNonExported", "id", "name", "TestFlag", "age", "email", "Baz", "color" ], "type": "object" }
MIT
en
invopop/jsonschema
f4e1fdace9490d531922dca850c7229b665fc4de
2022-02-23T12:41:31
fixtures/commas_in_pattern.json
457
2024-05-27T06:45:28.205821Z
{ "$defs": { "PatternTest": { "additionalProperties": false, "properties": { "with_pattern": { "maxLength": 50, "minLength": 1, "pattern": "[0-9]{1,4}", "type": "string" } }, "required": [ "with_pattern" ], "type": "object" } }, "$id": "https://github.com/invopop/jsonschema/pattern-test", "$ref": "#/$defs/PatternTest", "$schema": "http://json-schema.org/draft/2020-12/schema" }
MIT
en
invopop/jsonschema
83a598aac4a08e3c6edb184fd40b3c690fd3f3a7
2022-07-21T22:47:45
fixtures/compact_date.json
457
2024-05-27T06:45:28.205821Z
{ "$defs": { "CompactDate": { "description": "Short date that only includes year and month", "pattern": "^[0-9]{4}-[0-1][0-9]$", "title": "Compact Date", "type": "string" } }, "$id": "https://github.com/invopop/jsonschema/compact-date", "$ref": "#/$defs/CompactDate", "$schema": "https://json-schema.org/draft/2020-12/schema" }
MIT
en
invopop/jsonschema
a176ac1737cd502905bb0b77d36a89d0b3bfeee1
2022-02-13T15:49:12
fixtures/custom_type.json
457
2024-05-27T06:45:28.205821Z
{ "$defs": { "CustomTypeField": { "additionalProperties": false, "properties": { "CreatedAt": { "format": "date-time", "type": "string" } }, "required": [ "CreatedAt" ], "type": "object" } }, "$ref": "#/$defs/CustomTypeField", "$schema": "http://json-schema.org/draft/2020-12/schema" }
MIT
en
invopop/jsonschema
ea9462d7d8a12b6c001ebc60356efb128da36050
2022-11-08T08:52:54
fixtures/custom_type_extend.json
457
2024-05-27T06:45:28.205821Z
{ "$defs": { "SchemaExtendTest": { "additionalProperties": false, "properties": { "LastName": { "description": "some extra words", "type": "string" }, "middle_name": { "type": "string" } }, "required": [ "LastName" ], "type": "object" } }, "$id": "https://github.com/invopop/jsonschema/schema-extend-test", "$ref": "#/$defs/SchemaExtendTest", "$schema": "https://json-schema.org/draft/2020-12/schema" }
MIT
en
invopop/jsonschema
6787b8074a9ea5594e2bae1d6c3496160b06c8b9
2022-02-14T11:33:20
fixtures/go_comments.json
457
2024-05-27T06:45:28.205821Z
{ "$defs": { "Pet": { "additionalProperties": false, "description": "Pet defines the user's fury friend.", "properties": { "name": { "description": "Name of the animal.", "title": "Name", "type": "string" } }, "required": [ "name" ], "type": "object" }, "Plant": { "additionalProperties": false, "description": "Plant represents the plants the user might have and serves as a test of structs inside a `type` set.", "properties": { "variant": { "title": "Variant", "type": "string" } }, "required": [ "variant" ], "type": "object" }, "User": { "additionalProperties": false, "description": "User is used as a base to provide tests for comments.", "properties": { "friends": { "description": "list of IDs, omitted when empty", "items": { "type": "integer" }, "type": "array" }, "id": { "description": "Unique sequential identifier.", "type": "integer" }, "name": { "default": "alex", "description": "this is a property", "examples": [ "joe", "lucy" ], "maxLength": 20, "minLength": 1, "pattern": ".*", "title": "the name", "type": "string" }, "pets": { "description": "An array of pets the user cares for.", "items": { "$ref": "#/$defs/Pet", "$schema": "http://json-schema.org/draft/2020-12/schema" }, "type": "array" }, "plants": { "description": "Set of plants that the user likes", "items": { "$ref": "#/$defs/Plant", "$schema": "http://json-schema.org/draft/2020-12/schema" }, "title": "Pants", "type": "array" }, "tags": { "type": "object" } }, "required": [ "id", "name", "pets", "plants" ], "type": "object" } }, "$ref": "#/$defs/User", "$schema": "http://json-schema.org/draft/2020-12/schema" }
MIT
en