{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/rockwell-automation/json-schema/rockwell-automation-get-control-plan-response-dto-schema.json",
  "title": "GetControlPlanResponseDto",
  "description": "The data structure representing a control plan.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/rockwell-automation-control-plans-api-api-openapi.yml#/components/schemas/GetControlPlanResponseDto",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid",
      "description": "ID representing the Control Plan."
    },
    "buildingCode": {
      "type": "string",
      "description": "The Control Plan building code."
    },
    "buildingId": {
      "type": "string",
      "format": "uuid",
      "description": "ID representing the Control Plan building."
    },
    "controlPlanNo": {
      "type": "number",
      "format": "double",
      "description": "The Control Plan number."
    },
    "controlPlanStatus": {
      "type": "string",
      "description": "The Control Plan status."
    },
    "controlPlanType": {
      "type": "string",
      "description": "The Control Plan type."
    },
    "description": {
      "type": "string",
      "description": "The Control Plan description."
    },
    "externalDocumentId": {
      "type": "string",
      "description": "The Control Plan external document ID."
    },
    "externalDocumentRevisionLevel": {
      "type": "string",
      "description": "The revision level of the external document."
    },
    "originalDate": {
      "type": "string",
      "format": "date-time",
      "description": "The original date of the Control Plan."
    },
    "partId": {
      "type": "string",
      "format": "uuid",
      "description": "ID representing the Control Plan part number."
    },
    "partNo": {
      "type": "string",
      "description": "The Control Plan part number."
    },
    "partRevision": {
      "type": "string",
      "description": "The Control Plan part revision."
    },
    "partName": {
      "type": "string",
      "description": "The Control Plan part name."
    },
    "primary": {
      "type": "boolean",
      "description": "The primary flag."
    },
    "revisionDate": {
      "type": "string",
      "format": "date-time",
      "description": "The Control Plan revision date."
    }
  }
}