{ "$id": "https://c-git.crosscode.co.za/joshua/crosscode-platform/raw/branch/main/packages/contracts/schemas/env-template.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "schema": { "type": "string", "const": "crosscode.env-template/1" }, "product": { "type": "string", "enum": [ "events", "website", "app", "accounts" ] }, "files": { "type": "object", "propertyNames": { "type": "string", "pattern": "^[a-z0-9._/-]+$" }, "additionalProperties": { "minItems": 1, "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string", "pattern": "^[A-Z][A-Z0-9_]*$" }, "layer": { "type": "string", "enum": [ "server", "defaults", "install", "generated" ] }, "required": { "default": false, "type": "boolean" }, "default": { "type": "string", "maxLength": 4000 }, "from": { "type": "string", "maxLength": 400 }, "description": { "type": "string", "maxLength": 400 } }, "required": [ "name", "layer" ] } } } }, "required": [ "schema", "product", "files" ] }