{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/oracle/main/json-schema/oracle-project-schema.json", "title": "Project", "description": "A Document Project containing models.", "x-generated": "2026-10-03", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/oracle-aiservicedocument-api-openapi.yml#/components/schemas/Project", "properties": { "compartmentId": { "description": "The compartment identifier.", "maxLength": 255, "minLength": 1, "type": "string" }, "definedTags": { "additionalProperties": { "additionalProperties": { "description": "The value of the tag. Only string, integer, and boolean types are supported.\n", "type": "object" }, "description": "A key-value pair representing predefined tags' keys and values scoped to a namespace.\nFor example: `{\"bar-key\": \"value\"}`\n", "type": "object" }, "description": "Defined tags for this resource. Each key is predefined and scoped to a namespace.\nFor example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`\n", "type": "object" }, "description": { "description": "An optional description of the project.", "maxLength": 400, "minLength": 1, "type": "string" }, "displayName": { "description": "A human-friendly name for the project, which can be changed.", "maxLength": 255, "minLength": 1, "type": "string" }, "freeformTags": { "additionalProperties": { "type": "string" }, "description": "A simple key-value pair that is applied without any predefined name, type, or scope. It exists for cross-compatibility only.\nFor example: `{\"bar-key\": \"value\"}`\n", "type": "object" }, "id": { "description": "A unique identifier that is immutable after creation.", "maxLength": 255, "minLength": 1, "type": "string" }, "lifecycleDetails": { "description": "A message describing the current state in more detail, that can provide actionable information if creation failed.", "type": "string" }, "lifecycleState": { "description": "The current state of the project.", "enum": [ "CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED" ], "type": "string" }, "locks": { "description": "Locks associated with this resource.", "items": { "$ref": "#/$defs/ResourceLock" }, "type": "array" }, "systemTags": { "additionalProperties": { "additionalProperties": { "description": "The value of the tag. Only string, integer, and boolean types are supported.\n", "type": "object" }, "description": "A key-value pair representing system tags' keys and values scoped to a namespace.\nFor example: `{\"bar-key\": \"value\"}`\n", "type": "object" }, "description": "Usage of system tag keys. These predefined keys are scoped to namespaces.\nFor example: `{\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}`\n", "type": "object" }, "timeCreated": { "description": "When the project was created, as an RFC3339 datetime string.", "format": "date-time", "type": "string" }, "timeUpdated": { "description": "When the project was updated, as an RFC3339 datetime string.", "format": "date-time", "type": "string" } }, "required": [ "id", "compartmentId", "timeCreated", "lifecycleState" ], "type": "object", "$defs": { "ResourceLock": { "description": "Resource locks prevent certain APIs from being called for the resource.\nA full lock prevents both updating and deleting the resource. A lock delete\nprevents deleting the resource.\n", "properties": { "compartmentId": { "description": "The lock compartment ID.", "type": "string" }, "message": { "description": "A message added by the lock creator. The message typically gives an\nindication of why the resource is locked.\n", "type": "string" }, "relatedResourceId": { "description": "The resource ID that is locking this resource. Indicates that deleting this resource removes the lock.\n", "type": "string" }, "timeCreated": { "description": "Indicates when the lock was created, in the format defined by RFC 3339.", "format": "date-time", "type": "string" }, "type": { "description": "Lock type.", "enum": [ "FULL", "DELETE" ], "type": "string" } }, "required": [ "type", "compartmentId" ], "type": "object" } } }