{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/optimizely/main/json-schema/optimizely-schema-object-schema.json", "title": "SchemaObject", "description": "A domain object type definition in the ODP schema", "x-generated": "2026-10-12", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/optimizely-schema-api-openapi.yml#/components/schemas/SchemaObject", "type": "object", "properties": { "name": { "type": "string", "description": "Name of the object type" }, "display_name": { "type": "string", "description": "Human-readable display name" }, "description": { "type": "string", "description": "Description of the object type" }, "fields": { "type": "array", "description": "Fields defined on the object type", "items": { "$ref": "#/$defs/SchemaField" } } }, "$defs": { "SchemaField": { "type": "object", "description": "A field definition within a domain object type", "properties": { "name": { "type": "string", "description": "Field name" }, "display_name": { "type": "string", "description": "Human-readable display name" }, "type": { "type": "string", "description": "Data type of the field", "enum": [ "string", "number", "boolean", "timestamp" ] }, "description": { "type": "string", "description": "Description of the field" } } } } }