Created
February 27, 2022 08:01
-
-
Save dizys/ed9efcddd07ada7f39e72c0197c20271 to your computer and use it in GitHub Desktop.
This file contains 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
{ | |
"$id": "http://example.com/example.json", | |
"$schema": "http://json-schema.org/draft-07/schema", | |
"default": {}, | |
"description": "JSON schema for cheatsheet note info", | |
"examples": [ | |
{ | |
"name": "Big-Oh Order", | |
"description": "Big-Oh Order of expressions", | |
"icon": "/images/big-oh-order.png" | |
} | |
], | |
"required": [ | |
"name", | |
"description" | |
], | |
"title": "Cheatsheet Note Info", | |
"type": "object", | |
"properties": { | |
"name": { | |
"$id": "#/properties/name", | |
"type": "string", | |
"title": "The name schema", | |
"description": "An explanation about the purpose of this instance.", | |
"default": "", | |
"examples": [ | |
"Big-Oh Order" | |
] | |
}, | |
"description": { | |
"$id": "#/properties/description", | |
"type": "string", | |
"title": "The description schema", | |
"description": "An explanation about the purpose of this instance.", | |
"default": "", | |
"examples": [ | |
"Big-Oh Order of expressions" | |
] | |
}, | |
"icon": { | |
"$id": "#/properties/icon", | |
"type": "string", | |
"title": "The icon schema", | |
"description": "An explanation about the purpose of this instance.", | |
"default": "", | |
"examples": [ | |
"/images/big-oh-order.png" | |
] | |
} | |
}, | |
"additionalProperties": true | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment