{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/oracle/json-schema/oracle-config-schema.json",
  "title": "Config",
  "description": "A configuration item, which has a number of mutually exclusive properties that can be used to set specific\nportions of the configuration.\n",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/oracle-config-api-openapi.yml#/components/schemas/Config",
  "properties": {
    "configType": {
      "description": "The type of configuration item.",
      "enum": [
        "SPAN_FILTER",
        "METRIC_GROUP",
        "APDEX",
        "OPTIONS"
      ],
      "type": "string",
      "x-obmcs-top-level-enum": "#/definitions/ConfigTypes"
    },
    "createdBy": {
      "description": "The [OCID](/Content/General/Concepts/identifiers.htm) of a user.\n",
      "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"
    },
    "etag": {
      "description": "For optimistic concurrency control. See `if-match`.\n",
      "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 [OCID](/Content/General/Concepts/identifiers.htm) of the configuration item. An OCID is generated\nwhen the item is created.\n",
      "maxLength": 255,
      "minLength": 1,
      "type": "string"
    },
    "timeCreated": {
      "description": "The time the resource was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339)\ntimestamp format.\nExample: `2020-02-12T22:47:12.613Z`\n",
      "format": "date-time",
      "type": "string"
    },
    "timeUpdated": {
      "description": "The time the resource was updated, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339)\ntimestamp format.\nExample: `2020-02-13T22:47:12.613Z`\n",
      "format": "date-time",
      "type": "string"
    },
    "updatedBy": {
      "description": "The [OCID](/Content/General/Concepts/identifiers.htm) of a user.\n",
      "maxLength": 255,
      "minLength": 1,
      "type": "string"
    }
  },
  "required": [
    "configType"
  ],
  "type": "object"
}