- SourceMeta name
- pet
- Base dialect
- https://json-schema.org/draft/2020-12/schema
- SourceMeta dialect
- https://json-schema.org/draft/2020-12/schema
- Bytes
- 1.166 bytes
- Bytes bundled
- 2.762 bytes
- Health
- 34%
- Dependencies
- 2
Dependencies
- At
- /properties/category/$ref
- At
- /properties/tags/items/$ref
Health issues
- Name
- unknown_keywords_prefix
- Message
- Future versions of JSON Schema will refuse to evaluate unknown keywords or custom keywords from optional vocabularies that don't have an x- prefix
- Pointers
- /xml
- Name
- top_level_title
- Message
- Set a concise non-empty title at the top level of the schema to explain what the definition is about
- Pointers
- Name
- top_level_description
- Message
- Set a non-empty description at the top level of the schema to explain what the definition is about in detail
- Pointers
- Name
- top_level_examples
- Message
- Set a non-empty examples array at the top level of the schema to illustrate the expected data
- Pointers
- Name
- non_applicable_type_specific_keywords
- Message
- Avoid keywords that don't apply to the type or types that the current subschema expects
- Pointers
- /properties/id/format
- Name
- unknown_format_prefix
- Message
- For interoperability purposes, the JSON Schema specification advises against the use of `format` values that are not explicitly defined by the specification
- Pointers
- /properties/id/format
- Name
- unknown_keywords_prefix
- Message
- Future versions of JSON Schema will refuse to evaluate unknown keywords or custom keywords from optional vocabularies that don't have an x- prefix
- Pointers
- /properties/photoUrls/xml
- Name
- unknown_keywords_prefix
- Message
- Future versions of JSON Schema will refuse to evaluate unknown keywords or custom keywords from optional vocabularies that don't have an x- prefix
- Pointers
- /properties/photoUrls/items/xml
- Name
- enum_with_type
- Message
- Setting `type` alongside `enum` is considered an anti-pattern, as the enumeration choices already imply their respective types
- Pointers
- /properties/status/enum - /properties/status/type
- Name
- unknown_keywords_prefix
- Message
- Future versions of JSON Schema will refuse to evaluate unknown keywords or custom keywords from optional vocabularies that don't have an x- prefix
- Pointers
- /properties/tags/xml
{
"$id": "https://schemas.don.projects.digilab.network/schemas/api-register/directoraat-generaal-belastingdienst/swagger-petstore-open-api-3-0-pnkal4kdg/pet",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"category": {
"$ref": "./category"
},
"id": {
"examples": [
10
],
"format": "int64",
"type": "integer"
},
"name": {
"examples": [
"doggie"
],
"type": "string"
},
"photoUrls": {
"items": {
"type": "string",
"xml": {
"name": "photoUrl"
}
},
"type": "array",
"xml": {
"nodeType": "element"
}
},
"status": {
"description": "pet status in the store",
"enum": [
"available",
"pending",
"sold"
],
"type": "string"
},
"tags": {
"items": {
"$ref": "./tag"
},
"type": "array",
"xml": {
"nodeType": "element"
}
}
},
"required": [
"name",
"photoUrls"
],
"type": "object",
"x-derived-from": [
"https://petstore3.swagger.io/api/v3/openapi.json#/components/schemas/Pet"
],
"xml": {
"name": "pet"
}
}