{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/oracle/main/json-schema/oracle-api-metadata-schema.json", "title": "ApiMetadata", "description": "An ApiDetail contains details such as the service it belongs to, the name of the api, the type of api, and the parameters of the api if it contains.\n\nTo use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to\nan administrator. If you're an administrator who needs to write policies to give users access, see\n[Getting Started with Policies](/iaas/Content/Identity/policiesgs/get-started-with-policies.htm).\n", "x-generated": "2026-10-03", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/oracle-apimetadata-api-openapi.yml#/components/schemas/ApiMetadata", "properties": { "apiName": { "description": "The name of the api to execute the api request.", "type": "string" }, "definedTags": { "additionalProperties": { "additionalProperties": { "description": "The value of the tag. Only the String type is supported.\n", "type": "object" }, "description": "Key-value pair representing a defined tag key and value, scoped to a namespace.\n\nExample: `{\"CostCenter\": \"42\"}`\n", "type": "object" }, "description": "Defined tags for this resource. Each key is predefined and scoped to a namespace.\nFor more information, see [Resource Tags](/iaas/Content/General/Concepts/resourcetags.htm).\n\nExample: `{\"Operations\": {\"CostCenter\": \"42\"}}`\n", "type": "object" }, "displayName": { "description": "The operation Name of the api. The name must be unique.", "type": "string" }, "entityType": { "description": "ResourceType to which the apiMetadata belongs to.", "type": "string" }, "fields": { "description": "List of the fields that is use while calling post or put for the data.", "items": { "type": "string" }, "type": "array" }, "freeformTags": { "additionalProperties": { "type": "string" }, "description": "Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.\nFor more information, see [Resource Tags](/iaas/Content/General/Concepts/resourcetags.htm).\n\nExample: `{\"Department\": \"Finance\"}`\n", "type": "object" }, "id": { "description": "The [OCID](/iaas/Content/General/Concepts/identifiers.htm) of the ApiDetail.", "type": "string" }, "lifecycleDetails": { "description": "A message that describes the current state of the ApiMetadata in more detail. For example,\ncan be used to provide actionable information for a resource in the Failed state.\n", "type": "string" }, "lifecycleState": { "description": "The current state of the ApiMetadata.", "enum": [ "CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED" ], "type": "string" }, "path": { "description": "rest path of the api.", "type": "string" }, "serviceName": { "description": "The service Name to which the api belongs to.", "type": "string" }, "systemTags": { "additionalProperties": { "additionalProperties": { "description": "The value of the tag. Only the String type is supported.\n", "type": "object" }, "description": "Key-value pair representing a system tag key and value, scoped to a namespace.\n\nExample: `{\"free-tier-retained\": \"true\"}`\n", "type": "object" }, "description": "System tags for this resource. Each key is predefined and scoped to a namespace.\n\nExample: `{\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}`\n", "type": "object" }, "timeCreated": { "description": "The date and time the PrivilegedApiControl was created, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339).\n\nExample: `2016-08-25T21:10:29.600Z`\n", "format": "date-time", "type": "string" }, "timeDeleted": { "description": "The date and time the PrivilegedApiControl was marked for delete, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339).\n\nExample: `2016-08-25T21:10:29.600Z`\n", "format": "date-time", "type": "string" }, "timeUpdated": { "description": "The date and time the PrivilegedApiControl was updated, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339).\n\nExample: `2016-08-25T21:10:29.600Z`\n", "format": "date-time", "type": "string" } }, "required": [ "id", "lifecycleState", "timeCreated", "displayName" ], "type": "object" }