Slide 55
Slide 55 text
{
"definitions": {},
"$schema": "http://json-schema.org/draft-06/schema#",
"id": "app_config",
"title": "app_config",
"type": "object",
"additionalProperties": false,
"required": [
"STATIC_URL_PATH",
"MYSQL_DATABASE_USER"
],
"properties": {
"STATIC_URL_PATH": {
"$id": "/properties/STATIC_URL_PATH",
"type": "string",
"title": "Static URL path",
"description": "A filesystem path for static assets",
Let’s write a (JSON) schema