{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/oracle-database-19c/main/json-schema/oracle-database-19c-soda-collection.json", "title": "SODA Collection", "description": "A SODA (Simple Oracle Document Access) collection in Oracle Database 19c.", "type": "object", "required": ["name"], "properties": { "name": { "type": "string", "description": "Collection name" }, "schemaName": { "type": "string", "description": "Owning database schema" }, "keyColumn": { "type": "object", "properties": { "name": { "type": "string" }, "sqlType": { "type": "string", "enum": ["VARCHAR2", "NUMBER", "RAW"] }, "maxLength": { "type": "integer" }, "assignmentMethod": { "type": "string", "enum": ["UUID", "SEQUENCE", "GUID", "CLIENT"] } } }, "contentColumn": { "type": "object", "properties": { "name": { "type": "string" }, "sqlType": { "type": "string", "enum": ["BLOB", "CLOB", "VARCHAR2", "JSON"] }, "validation": { "type": "string", "enum": ["STANDARD", "STRICT"] }, "compress": { "type": "string" }, "cache": { "type": "boolean" }, "encrypt": { "type": "string" } } }, "versionColumn": { "type": "object", "properties": { "name": { "type": "string" }, "method": { "type": "string", "enum": ["NONE", "UUID", "TIMESTAMP", "SHA256", "MD5", "SEQUENTIAL"] } } }, "lastModifiedColumn": { "type": "object", "properties": { "name": { "type": "string" }, "index": { "type": "string" } } }, "creationTimeColumn": { "type": "object", "properties": { "name": { "type": "string" } } }, "mediaTypeColumn": { "type": "object", "properties": { "name": { "type": "string" } } }, "readOnly": { "type": "boolean", "default": false } } }