Last active
June 22, 2022 18:57
-
-
Save agyemanjp/c03878428a0a1af5920979569929a58a 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
{ | |
"$schema": "http://json-schema.org/draft-07/schema#", | |
"$id": "http://danfortsystems.com/schemas/appgen.json", | |
"type": "object", | |
"properties": { | |
"name": { | |
"type": "string", | |
"description": "Name of app" | |
}, | |
"owner": { | |
"type": "string", | |
"description": "Copyright owner (org or individual) of app" | |
}, | |
"package": { | |
"type": "string", | |
"description": "Node package name of app" | |
}, | |
"repository": { | |
"type": "string", | |
"description": "Full git URL of cloud repository to contain app, if any" | |
}, | |
"description": { | |
"type": "string", | |
"description": "Description of app" | |
}, | |
"storage": { | |
"type": "string", | |
"description": "Storage provider", | |
"enum": [ | |
"user-cloud", | |
"user-local", | |
"postgres-db" | |
] | |
}, | |
"security": { | |
"type": "string", | |
"description": "Security provider", | |
"enum": [ | |
"passport", | |
"firebase", | |
"auth0", | |
"okta" | |
] | |
}, | |
"pages": { | |
"description": "Pages", | |
"type": "object", | |
"properties": { | |
"name": { | |
"type": "string", | |
"description": "Name of page" | |
}, | |
"entity": { | |
"type": "string", | |
"description": "Name of entity" | |
}, | |
"operation": { | |
"type": "string", | |
"description": "Number of failure message", | |
"enum": [ | |
"view", | |
"create", | |
"update", | |
"delete" | |
] | |
} | |
}, | |
"additionalProperties": false, | |
"required": [ | |
"name", | |
"entity", | |
"operation" | |
] | |
}, | |
"entities": { | |
"$ref": "https://json-schema.org/draft/2020-12/meta/core" | |
} | |
}, | |
"additionalProperties": false, | |
"required": [ | |
"name", | |
"description", | |
"entities" | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment