{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/oracle/main/json-schema/oracle-knowledge-base-schema.json", "title": "KnowledgeBase", "description": "A knowledge base is a component of Application Dependency Management (ADM) service that provides access to vulnerabilities.\n", "x-generated": "2026-10-03", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/oracle-applicationdependencymanagement-api-openapi.yml#/components/schemas/KnowledgeBase", "properties": { "compartmentId": { "description": "The compartment Oracle Cloud Identifier ([OCID](/Content/General/Concepts/identifiers.htm)) of the knowledge base.", "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": "Key-value pair representing predefined tags' keys and values scoped to a namespace.\nExample: `{\"bar-key\": \"value\"}`\n", "type": "object" }, "description": "Defined tags for this resource. Each key is predefined and scoped to a namespace.\nExample: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`\n", "type": "object" }, "displayName": { "description": "The name of the knowledge base.", "format": "x-obmcs-ascii-identifier", "pattern": "^[a-zA-Z_](-?[a-zA-Z_0-9])*$", "type": "string" }, "freeformTags": { "additionalProperties": { "type": "string" }, "description": "Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.\nExample: `{\"bar-key\": \"value\"}`\n", "type": "object" }, "id": { "description": "The Oracle Cloud Identifier ([OCID](/Content/General/Concepts/identifiers.htm)) of the knowledge base.", "maxLength": 255, "minLength": 1, "type": "string" }, "lifecycleState": { "description": "The current lifecycle state of the knowledge base.", "enum": [ "CREATING", "ACTIVE", "UPDATING", "FAILED", "DELETING", "DELETED" ], "type": "string" }, "systemTags": { "additionalProperties": { "additionalProperties": { "description": "The value of the tag. Only string, integer and boolean types are supported.\n", "type": "object" }, "description": "Key-value pair representing system tags' keys and values scoped to a namespace.\nExample: `{\"bar-key\": \"value\"}`\n", "type": "object" }, "description": "Usage of system tag keys. These predefined keys are scoped to namespaces.\nExample: `{\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}`\n", "type": "object" }, "timeCreated": { "description": "The creation date and time of the knowledge base (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)).", "format": "date-time", "type": "string" }, "timeUpdated": { "description": "The date and time the knowledge base was last updated (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)).", "format": "date-time", "type": "string" } }, "required": [ "id", "displayName", "timeCreated", "timeUpdated", "lifecycleState", "compartmentId", "freeformTags", "definedTags" ], "type": "object" }