{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/red-hat-openshift/json-schema/red-hat-openshift-deployment-config-schema.json",
  "title": "DeploymentConfig",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/red-hat-openshift-deployment-configs-api-openapi.yml#/components/schemas/DeploymentConfig",
  "type": "object",
  "properties": {
    "apiVersion": {
      "type": "string",
      "default": "apps.openshift.io/v1"
    },
    "kind": {
      "type": "string",
      "default": "DeploymentConfig"
    },
    "metadata": {
      "$ref": "#/$defs/ObjectMeta"
    },
    "spec": {
      "type": "object",
      "properties": {
        "replicas": {
          "type": "integer"
        },
        "selector": {
          "type": "object"
        },
        "template": {
          "type": "object"
        },
        "triggers": {
          "type": "array",
          "items": {
            "type": "object"
          }
        }
      }
    },
    "status": {
      "type": "object",
      "properties": {
        "replicas": {
          "type": "integer"
        },
        "readyReplicas": {
          "type": "integer"
        },
        "availableReplicas": {
          "type": "integer"
        }
      }
    }
  },
  "$defs": {
    "ObjectMeta": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "namespace": {
          "type": "string"
        },
        "uid": {
          "type": "string"
        },
        "resourceVersion": {
          "type": "string"
        },
        "creationTimestamp": {
          "type": "string",
          "format": "date-time"
        },
        "labels": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "annotations": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        }
      }
    }
  }
}