+{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","additionalProperties":false,"required":["record_type","schema_version","tag_slug","created_at","display_name","status","scope","description","created_by","accepted_by","accepted_at","acceptance_basis","notes"],"properties":{"record_type":{"const":"tag"},"schema_version":{"$ref":"common.schema.json#/$defs/schema_version"},"tag_slug":{"$ref":"common.schema.json#/$defs/slug"},"created_at":{"$ref":"common.schema.json#/$defs/timestamp"},"display_name":{"type":"string","minLength":1},"status":{"enum":["proposed","accepted","deprecated"]},"scope":{"type":"string","minLength":1},"description":{"type":"string","minLength":1},"created_by":{"type":"string","minLength":1},"accepted_by":{"type":["string","null"]},"accepted_at":{"type":["string","null"],"format":"date-time"},"acceptance_basis":{"type":["string","null"],"enum":["operator_supplied","operator_approved_promotion",null]},"notes":{"type":"string"}},"allOf":[{"if":{"properties":{"status":{"const":"accepted"}}},"then":{"properties":{"accepted_by":{"type":"string","minLength":1},"accepted_at":{"type":"string","format":"date-time"},"acceptance_basis":{"enum":["operator_supplied","operator_approved_promotion"]}}}}]}
0 commit comments