{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/oracle/json-schema/oracle-database-tools-database-api-gateway-config-pool-auto-api-spec-schema.json",
  "title": "DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec",
  "description": "The content of a Database Tools database API gateway config auto API spec sub resource defined within a pool.",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/oracle-databasetoolsruntime-api-openapi.yml#/components/schemas/DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec",
  "properties": {
    "alias": {
      "description": "Used as the URI path element for this object. When not specified the objectName lowercase is the default value.",
      "maxLength": 255,
      "minLength": 0,
      "type": "string"
    },
    "databaseObjectName": {
      "description": "The name of the database object.",
      "maxLength": 255,
      "minLength": 1,
      "type": "string"
    },
    "databaseObjectType": {
      "description": "The type of the database object.",
      "enum": [
        "FUNCTION",
        "MVIEW",
        "PACKAGE",
        "PROCEDURE",
        "TABLE",
        "VIEW",
        "DUALITYVIEW"
      ],
      "type": "string"
    },
    "description": {
      "description": "Description of the autoApiSpec.",
      "maxLength": 4000,
      "minLength": 0,
      "type": "string"
    },
    "displayName": {
      "description": "A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.",
      "maxLength": 255,
      "minLength": 1,
      "type": "string"
    },
    "key": {
      "description": "A system generated string that uniquely identifies an auto API spec sub resource within a given pool.",
      "maxLength": 255,
      "minLength": 1,
      "type": "string"
    },
    "operations": {
      "description": "The operations to limit access to this resource. If not specified then the default is [\"READ\",\"WRITE\"].",
      "items": {
        "enum": [
          "READ",
          "WRITE"
        ],
        "type": "string"
      },
      "maxItems": 2,
      "minItems": 0,
      "type": "array"
    },
    "roles": {
      "description": "The name of the database API gateway config roles protecting the resource. Only valid for RBAC JWT Profile pools and BEARER securitySchemes.",
      "items": {
        "maxLength": 255,
        "minLength": 1,
        "type": "string"
      },
      "maxItems": 20,
      "minItems": 0,
      "type": "array"
    },
    "scope": {
      "description": "The name of the database API gateway config privilege protecting the resource. Only valid for SCOPE JWT Profile pools and BEARER securitySchemes.",
      "maxLength": 255,
      "minLength": 0,
      "type": "string"
    },
    "securitySchemes": {
      "description": "The security schemes that can access this resource. If not specified then the resource is public.",
      "items": {
        "enum": [
          "BASIC",
          "BEARER"
        ],
        "type": "string"
      },
      "maxItems": 2,
      "minItems": 0,
      "type": "array"
    },
    "timeCreated": {
      "description": "The time the resource was created. An RFC3339 formatted datetime string.",
      "format": "date-time",
      "type": "string"
    },
    "timeUpdated": {
      "description": "The time the resource was updated. An RFC3339 formatted datetime string.",
      "format": "date-time",
      "type": "string"
    },
    "type": {
      "description": "The type of the Database Tools database API gateway config auto API spec sub resource.",
      "enum": [
        "DEFAULT"
      ],
      "type": "string",
      "x-obmcs-top-level-enum": "#/definitions/DatabaseApiGatewayConfigType"
    }
  },
  "required": [
    "key",
    "type",
    "displayName",
    "timeCreated",
    "timeUpdated"
  ],
  "type": "object"
}