Created
June 17, 2020 11:50
-
-
Save yalisassoon/302ae7cdfce323d8cc2f42a28d44b8dd to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0#", | |
"description": "Meta-schema for self-describing JSON schema", | |
"self": { | |
"vendor": "com.snowplowanalytics.self-desc", | |
"name": "schema", | |
"format": "jsonschema", | |
"version": "2-0-0" | |
}, | |
"allOf": [ | |
{ | |
"properties": { | |
"self": { | |
"type": "object", | |
"properties": { | |
"vendor": { | |
"type": "string", | |
"pattern": "^[a-zA-Z0-9-_.]+$" | |
}, | |
"name": { | |
"type": "string", | |
"pattern": "^[a-zA-Z0-9-_]+$" | |
}, | |
"format": { | |
"type": "string", | |
"pattern": "^[a-zA-Z0-9-_]+$" | |
}, | |
"version": { | |
"type": "string", | |
"pattern": "^[0-9]+-[0-9]+-[0-9]+$" | |
} | |
}, | |
"required": [ | |
"vendor", | |
"name", | |
"format", | |
"version" | |
], | |
"additionalProperties": false | |
} | |
}, | |
"metadata": { | |
"type": "object" | |
}, | |
"required": [ | |
"self" | |
] | |
}, | |
{ | |
"$ref": "http://json-schema.org/draft-04/schema#" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment