{ "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "required": ["release-id", "version", "state", "source-ref", "source-sha256", "principles-ref", "taste-profile-ref", "token-source-ref", "component-ids", "pattern-ids", "page-archetype-ids", "generated-artifacts"], "properties": { "release-id": {"type": "string", "minLength": 1}, "version": {"type": "string", "pattern": "^[0-9]+\\.[0-9]+\\.[0-9]+$"}, "state": {"enum": ["experimental", "candidate", "stable", "deprecated"]}, "source-ref": {"type": "string", "minLength": 1}, "source-sha256": {"type": "string", "pattern": "^[0-9a-f]{64}$"}, "principles-ref": {"type": "string", "minLength": 1}, "taste-profile-ref": {"type": "string", "minLength": 1}, "token-source-ref": {"type": "string", "minLength": 1}, "component-ids": {"type": "array"}, "pattern-ids": {"type": "array"}, "page-archetype-ids": {"type": "array"}, "generated-artifacts": {"type": "array", "minItems": 5} } }