{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/canonical/main/json-schema/canonical-environment-review-patch-schema.json", "title": "EnvironmentReviewPatch", "x-generated": "2026-10-04", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/canonical-artefacts-api-openapi.yml#/components/schemas/EnvironmentReviewPatch", "properties": { "id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Id" }, "review_decision": { "anyOf": [ { "items": { "$ref": "#/$defs/ArtefactBuildEnvironmentReviewDecision" }, "type": "array" }, { "type": "null" } ], "title": "Review Decision" }, "review_comment": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Review Comment" } }, "type": "object", "$defs": { "ArtefactBuildEnvironmentReviewDecision": { "type": "string", "enum": [ "REJECTED", "APPROVED_INCONSISTENT_TEST", "APPROVED_UNSTABLE_PHYSICAL_INFRA", "APPROVED_CUSTOMER_PREREQUISITE_FAIL", "APPROVED_FAULTY_HARDWARE", "APPROVED_ALL_TESTS_PASS" ], "title": "ArtefactBuildEnvironmentReviewDecision" } } }