26 lines
703 B
Python
26 lines
703 B
Python
|
|
"""JSON schema definitions for project manifests."""
|
||
|
|
|
||
|
|
PROJECT_MANIFEST_SCHEMA = {
|
||
|
|
"type": "object",
|
||
|
|
"properties": {
|
||
|
|
"project": {"type": "object"},
|
||
|
|
"phase": {"type": "object"},
|
||
|
|
"progress": {"type": "object"},
|
||
|
|
"quality": {"type": "object"},
|
||
|
|
"next_action": {"type": "object"},
|
||
|
|
},
|
||
|
|
"required": ["project", "phase"],
|
||
|
|
}
|
||
|
|
|
||
|
|
DEPLOYMENT_MANIFEST_SCHEMA = {
|
||
|
|
"type": "object",
|
||
|
|
"properties": {
|
||
|
|
"target": {"type": "string"},
|
||
|
|
"docker_compose": {"type": "boolean"},
|
||
|
|
"env_file": {"type": "boolean"},
|
||
|
|
"healthcheck": {"type": "boolean"},
|
||
|
|
"runbook": {"type": "boolean"},
|
||
|
|
"rollback": {"type": "boolean"},
|
||
|
|
},
|
||
|
|
}
|