{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/continuous-delivery-foundation/json-schema/continuous-delivery-foundation-delivery-config-schema.json",
  "title": "DeliveryConfig",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/continuous-delivery-foundation-managed-controller-api-openapi.yml#/components/schemas/DeliveryConfig",
  "properties": {
    "apiVersion": {
      "type": "string"
    },
    "application": {
      "type": "string"
    },
    "artifacts": {
      "items": {
        "additionalProperties": {},
        "type": "object"
      },
      "type": "array"
    },
    "environments": {
      "items": {
        "$ref": "#/$defs/Environment"
      },
      "type": "array"
    },
    "name": {
      "type": "string"
    },
    "serviceAccount": {
      "type": "string"
    }
  },
  "type": "object",
  "$defs": {
    "Environment": {
      "properties": {
        "constraints": {
          "items": {
            "additionalProperties": {},
            "type": "object"
          },
          "type": "array"
        },
        "locations": {
          "additionalProperties": {},
          "type": "object"
        },
        "name": {
          "type": "string"
        },
        "notifications": {
          "items": {
            "$ref": "#/$defs/Notification"
          },
          "type": "array"
        },
        "postDeploy": {
          "items": {
            "additionalProperties": {},
            "type": "object"
          },
          "type": "array"
        },
        "resources": {
          "items": {
            "$ref": "#/$defs/Resource"
          },
          "type": "array"
        },
        "verifyWith": {
          "items": {
            "additionalProperties": {},
            "type": "object"
          },
          "type": "array"
        }
      },
      "type": "object"
    },
    "Notification": {
      "properties": {
        "address": {
          "type": "string"
        },
        "frequency": {
          "type": "string"
        },
        "type": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "Resource": {
      "properties": {
        "apiVersion": {
          "type": "string"
        },
        "kind": {
          "type": "string"
        },
        "metadata": {
          "additionalProperties": {},
          "type": "object"
        },
        "spec": {
          "additionalProperties": {},
          "type": "object"
        }
      },
      "type": "object"
    }
  }
}