Last active
July 27, 2023 13:25
-
-
Save TorstenDittmann/ab390a733a1cb66a3a3d00a0f3fcec31 to your computer and use it in GitHub Desktop.
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-04/schema#", | |
"type": "object", | |
"properties": { | |
"$schema": { | |
"type": "string" | |
}, | |
"items": { | |
"type": "array", | |
"items": [ | |
{ | |
"type": "object", | |
"properties": { | |
"icon": { | |
"type": "string" | |
}, | |
"id": { | |
"type": "string" | |
}, | |
"name": { | |
"type": "string" | |
}, | |
"tagline": { | |
"type": "string" | |
}, | |
"permissions": { | |
"type": "array", | |
"items": [ | |
{ | |
"type": "string" | |
} | |
] | |
}, | |
"events": { | |
"type": "array", | |
"items": [ | |
{ | |
"type": "string" | |
} | |
] | |
}, | |
"useCases": { | |
"type": "array", | |
"items": [ | |
{ | |
"type": "string" | |
} | |
] | |
}, | |
"cron": { | |
"type": "string" | |
}, | |
"timeout": { | |
"type": "integer" | |
}, | |
"instructions": { | |
"type": "string" | |
}, | |
"vcsProvider": { | |
"type": "string" | |
}, | |
"vcsOwnerName": { | |
"type": "string" | |
}, | |
"vcsRepositoryName": { | |
"type": "string" | |
}, | |
"runtimes": { | |
"type": "array", | |
"items": [ | |
{ | |
"type": "object", | |
"properties": { | |
"name": { | |
"type": "string" | |
}, | |
"entrypoint": { | |
"type": "string" | |
}, | |
"commands": { | |
"type": "string" | |
}, | |
"rootDirectory": { | |
"type": "string" | |
} | |
}, | |
"required": [ | |
"name", | |
"entrypoint", | |
"commands", | |
"vcsRootDirectory" | |
] | |
} | |
] | |
}, | |
"variables": { | |
"type": "array", | |
"items": [ | |
{ | |
"type": "object", | |
"properties": { | |
"name": { | |
"type": "string" | |
}, | |
"description": { | |
"type": "string" | |
}, | |
"value": { | |
"type": "string" | |
}, | |
"placeholder": { | |
"type": "string" | |
}, | |
"required": { | |
"type": "boolean" | |
} | |
}, | |
"required": [ | |
"name", | |
"description", | |
"value", | |
"placeholder", | |
"required" | |
] | |
} | |
] | |
} | |
}, | |
"required": [ | |
"icon", | |
"id", | |
"name", | |
"tagline", | |
"useCases", | |
"instructions", | |
"vcsProvider", | |
"vcsOwnerName", | |
"vcsRepositoryName", | |
"runtimes" | |
] | |
} | |
] | |
} | |
}, | |
"required": [ | |
"$schema", | |
"items" | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment