Last active
July 2, 2019 20:15
-
-
Save JonDotsoy/e070f06f2927eb800d24604589700b21 to your computer and use it in GitHub Desktop.
convert-schema.json
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://json-schema.org/draft-07/schema#", | |
"type": "object", | |
"description": "Used to convert to parse files.", | |
"additionalItems": false, | |
"additionalProperties": false, | |
"required": [ | |
"$schema", | |
"properties" | |
], | |
"properties": { | |
"$schema": { | |
"type": "string", | |
"format": "uri", | |
"enum": [ | |
"https://bit.do/convert-schema-json#" | |
] | |
}, | |
"description": { | |
"type": "string", | |
"description": "Describes the use of the schema" | |
}, | |
"properties": { | |
"type": "object", | |
"description": "Define the properties to transform", | |
"additionalProperties": { | |
"type": "object", | |
"additionalProperties": true, | |
"description": "Title used to refer to the name of the column.", | |
"required": [ | |
"title", | |
"type" | |
], | |
"properties": { | |
"type": { | |
"type": "string", | |
"description": "Define the transformation mechanism. You can use null, boolean, integer, number, json, string.", | |
"enum": [ | |
"null", | |
"boolean", | |
"integer", | |
"number", | |
"json", | |
"string" | |
] | |
}, | |
"title": { | |
"title": "string", | |
"description": "Set the title used to obtain the value as a reference." | |
} | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment