{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "$schema": {
      "type": "string",
      "maxLength": 2000,
      "format": "uri"
    },
    "format": {
      "type": "string",
      "const": "automation-modeler/blueprint"
    },
    "aiGuidance": {
      "type": "object",
      "properties": {
        "purpose": {
          "type": "string",
          "maxLength": 12000
        },
        "trustBoundary": {
          "type": "string",
          "maxLength": 12000
        },
        "implementation": {
          "maxItems": 30,
          "type": "array",
          "items": {
            "type": "string",
            "maxLength": 12000
          }
        },
        "designFromNotes": {
          "maxItems": 30,
          "type": "array",
          "items": {
            "type": "string",
            "maxLength": 12000
          }
        }
      },
      "required": [
        "purpose",
        "trustBoundary",
        "implementation",
        "designFromNotes"
      ],
      "additionalProperties": {}
    },
    "schemaVersion": {
      "type": "number",
      "const": 1
    },
    "id": {
      "type": "string",
      "pattern": "^[a-zA-Z0-9_-]{1,100}$"
    },
    "revision": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    },
    "createdAt": {
      "type": "string",
      "format": "date-time",
      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time",
      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
    },
    "project": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "minLength": 1,
          "maxLength": 180
        },
        "customer": {
          "default": "",
          "type": "string",
          "maxLength": 12000
        },
        "system": {
          "default": "",
          "type": "string",
          "maxLength": 12000
        },
        "participants": {
          "default": "",
          "type": "string",
          "maxLength": 12000
        },
        "owner": {
          "default": "",
          "type": "string",
          "maxLength": 12000
        },
        "workshopDate": {
          "default": "",
          "type": "string",
          "maxLength": 12000
        },
        "objectives": {
          "default": "",
          "type": "string",
          "maxLength": 12000
        },
        "scope": {
          "default": "",
          "type": "string",
          "maxLength": 12000
        },
        "frequency": {
          "default": "",
          "type": "string",
          "maxLength": 12000
        },
        "difficulties": {
          "default": "",
          "type": "string",
          "maxLength": 12000
        },
        "criticality": {
          "default": "",
          "type": "string",
          "maxLength": 12000
        },
        "downtime": {
          "default": "",
          "type": "string",
          "maxLength": 12000
        },
        "fictional": {
          "default": false,
          "type": "boolean"
        },
        "starterKey": {
          "default": "",
          "type": "string",
          "maxLength": 12000
        },
        "templateAnswers": {
          "default": {},
          "type": "object",
          "propertyNames": {
            "type": "string"
          },
          "additionalProperties": {
            "type": "string",
            "maxLength": 12000
          }
        }
      },
      "required": [
        "name"
      ],
      "additionalProperties": {}
    },
    "scenarios": {
      "minItems": 1,
      "maxItems": 20,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^[a-zA-Z0-9_-]{1,100}$"
          },
          "name": {
            "type": "string",
            "minLength": 1,
            "maxLength": 100
          },
          "type": {
            "type": "string",
            "enum": [
              "current",
              "target"
            ]
          },
          "entities": {
            "maxItems": 10000,
            "type": "array",
            "items": {
              "oneOf": [
                {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "pattern": "^[a-zA-Z0-9_-]{1,100}$"
                    },
                    "name": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 180
                    },
                    "purpose": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "owner": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "certainty": {
                      "default": "unknown",
                      "type": "string",
                      "enum": [
                        "unknown",
                        "assumed",
                        "confirmed"
                      ]
                    },
                    "source": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "confirmedAt": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "scope": {
                      "default": "in",
                      "type": "string",
                      "enum": [
                        "in",
                        "out",
                        "notApplicable"
                      ]
                    },
                    "notes": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "generated": {
                      "default": false,
                      "type": "boolean"
                    },
                    "checklist": {
                      "default": [],
                      "maxItems": 200,
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "pattern": "^[a-zA-Z0-9_-]{1,100}$"
                          },
                          "title": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 250
                          },
                          "status": {
                            "default": "Unknown",
                            "type": "string",
                            "enum": [
                              "Unknown",
                              "Planned",
                              "Verified",
                              "Gap",
                              "Not applicable"
                            ]
                          },
                          "owner": {
                            "default": "",
                            "type": "string",
                            "maxLength": 12000
                          },
                          "evidence": {
                            "default": "",
                            "type": "string",
                            "maxLength": 12000
                          },
                          "guidance": {
                            "default": "",
                            "type": "string",
                            "maxLength": 12000
                          },
                          "source": {
                            "default": "",
                            "type": "string",
                            "maxLength": 12000
                          }
                        },
                        "required": [
                          "id",
                          "title"
                        ],
                        "additionalProperties": {}
                      }
                    },
                    "kind": {
                      "type": "string",
                      "const": "environment"
                    },
                    "category": {
                      "default": "Unknown",
                      "type": "string",
                      "enum": [
                        "Unknown",
                        "Development",
                        "Test",
                        "UAT",
                        "Staging",
                        "Production",
                        "Training",
                        "Disaster recovery",
                        "Playground",
                        "Other",
                        "Not applicable"
                      ]
                    },
                    "temporary": {
                      "default": false,
                      "type": "boolean"
                    },
                    "creationPolicy": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "refreshPolicy": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "teardownPolicy": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "entryPoint": {
                      "default": "Unknown",
                      "type": "string",
                      "enum": [
                        "Unknown",
                        "Existing installation",
                        "New environment",
                        "Other",
                        "Not applicable"
                      ]
                    },
                    "defaults": {
                      "default": {},
                      "type": "object",
                      "propertyNames": {
                        "type": "string"
                      },
                      "additionalProperties": {
                        "type": "string",
                        "maxLength": 12000
                      }
                    }
                  },
                  "required": [
                    "id",
                    "name",
                    "kind"
                  ],
                  "additionalProperties": {}
                },
                {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "pattern": "^[a-zA-Z0-9_-]{1,100}$"
                    },
                    "name": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 180
                    },
                    "purpose": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "owner": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "certainty": {
                      "default": "unknown",
                      "type": "string",
                      "enum": [
                        "unknown",
                        "assumed",
                        "confirmed"
                      ]
                    },
                    "source": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "confirmedAt": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "scope": {
                      "default": "in",
                      "type": "string",
                      "enum": [
                        "in",
                        "out",
                        "notApplicable"
                      ]
                    },
                    "notes": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "generated": {
                      "default": false,
                      "type": "boolean"
                    },
                    "checklist": {
                      "default": [],
                      "maxItems": 200,
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "pattern": "^[a-zA-Z0-9_-]{1,100}$"
                          },
                          "title": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 250
                          },
                          "status": {
                            "default": "Unknown",
                            "type": "string",
                            "enum": [
                              "Unknown",
                              "Planned",
                              "Verified",
                              "Gap",
                              "Not applicable"
                            ]
                          },
                          "owner": {
                            "default": "",
                            "type": "string",
                            "maxLength": 12000
                          },
                          "evidence": {
                            "default": "",
                            "type": "string",
                            "maxLength": 12000
                          },
                          "guidance": {
                            "default": "",
                            "type": "string",
                            "maxLength": 12000
                          },
                          "source": {
                            "default": "",
                            "type": "string",
                            "maxLength": 12000
                          }
                        },
                        "required": [
                          "id",
                          "title"
                        ],
                        "additionalProperties": {}
                      }
                    },
                    "kind": {
                      "type": "string",
                      "const": "component"
                    },
                    "componentType": {
                      "default": "Unknown",
                      "type": "string",
                      "enum": [
                        "Unknown",
                        "Application",
                        "Service",
                        "API",
                        "Frontend",
                        "Worker",
                        "Database",
                        "Infrastructure",
                        "External dependency",
                        "Other",
                        "Not applicable"
                      ]
                    },
                    "version": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "repositoryId": {
                      "type": "string",
                      "pattern": "^[a-zA-Z0-9_-]{1,100}$"
                    },
                    "toolIds": {
                      "default": [],
                      "maxItems": 1000,
                      "type": "array",
                      "items": {
                        "type": "string",
                        "pattern": "^[a-zA-Z0-9_-]{1,100}$"
                      }
                    },
                    "requiredComponentIds": {
                      "default": [],
                      "maxItems": 1000,
                      "type": "array",
                      "items": {
                        "type": "string",
                        "pattern": "^[a-zA-Z0-9_-]{1,100}$"
                      }
                    },
                    "tenancy": {
                      "default": "Unknown",
                      "type": "string",
                      "enum": [
                        "Unknown",
                        "Shared",
                        "Per customer",
                        "Deployment stamp",
                        "Mixed",
                        "Other",
                        "Not applicable"
                      ]
                    },
                    "sourceOfTruth": {
                      "default": "Unknown",
                      "type": "string",
                      "enum": [
                        "Unknown",
                        "Desired schema",
                        "Ordered migrations",
                        "Reference database",
                        "Combination",
                        "Other",
                        "Not applicable"
                      ]
                    },
                    "engine": {
                      "default": "Unknown",
                      "type": "string",
                      "enum": [
                        "Unknown",
                        "SQL Server",
                        "Azure SQL Database",
                        "Azure SQL Managed Instance",
                        "Oracle",
                        "PostgreSQL",
                        "MySQL",
                        "MariaDB",
                        "SQLite",
                        "Other",
                        "Not applicable"
                      ]
                    },
                    "engineVersion": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "schemaAuthoring": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "changelogFormat": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "deploymentStrategy": {
                      "default": "Unknown",
                      "type": "string",
                      "enum": [
                        "Unknown",
                        "Difference script",
                        "Incremental migrations",
                        "Repeatable changes",
                        "Combination",
                        "Custom",
                        "Other",
                        "Not applicable"
                      ]
                    },
                    "baselining": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "migrationHistory": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "checksums": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "ordering": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "referenceData": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "dataTransformations": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "backfills": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "customerObjects": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "parameters": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "driftDetection": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "driftReconciliation": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "namingConventions": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "supportedUpgradePaths": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "newInstallTests": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "partialMigrations": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "transactionalLimitations": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "lockingPolicy": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "compatibility": {
                      "default": "Unknown",
                      "type": "string",
                      "enum": [
                        "Unknown",
                        "Old and new versions",
                        "New version only",
                        "Incompatible",
                        "Other",
                        "Not applicable"
                      ]
                    },
                    "configurationSources": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "secretReferences": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "featureFlags": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "runbook": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "readiness": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "rolloutMethod": {
                      "default": "Unknown",
                      "type": "string",
                      "enum": [
                        "Unknown",
                        "In place",
                        "Recreate",
                        "Rolling",
                        "Blue/green",
                        "Canary",
                        "Deployment slots",
                        "Other",
                        "Not applicable"
                      ]
                    },
                    "stateBackend": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "stateLocking": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "existingResourceAdoption": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "independentRelease": {
                      "default": true,
                      "type": "boolean"
                    }
                  },
                  "required": [
                    "id",
                    "name",
                    "kind"
                  ],
                  "additionalProperties": {}
                },
                {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "pattern": "^[a-zA-Z0-9_-]{1,100}$"
                    },
                    "name": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 180
                    },
                    "purpose": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "owner": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "certainty": {
                      "default": "unknown",
                      "type": "string",
                      "enum": [
                        "unknown",
                        "assumed",
                        "confirmed"
                      ]
                    },
                    "source": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "confirmedAt": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "scope": {
                      "default": "in",
                      "type": "string",
                      "enum": [
                        "in",
                        "out",
                        "notApplicable"
                      ]
                    },
                    "notes": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "generated": {
                      "default": false,
                      "type": "boolean"
                    },
                    "checklist": {
                      "default": [],
                      "maxItems": 200,
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "pattern": "^[a-zA-Z0-9_-]{1,100}$"
                          },
                          "title": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 250
                          },
                          "status": {
                            "default": "Unknown",
                            "type": "string",
                            "enum": [
                              "Unknown",
                              "Planned",
                              "Verified",
                              "Gap",
                              "Not applicable"
                            ]
                          },
                          "owner": {
                            "default": "",
                            "type": "string",
                            "maxLength": 12000
                          },
                          "evidence": {
                            "default": "",
                            "type": "string",
                            "maxLength": 12000
                          },
                          "guidance": {
                            "default": "",
                            "type": "string",
                            "maxLength": 12000
                          },
                          "source": {
                            "default": "",
                            "type": "string",
                            "maxLength": 12000
                          }
                        },
                        "required": [
                          "id",
                          "title"
                        ],
                        "additionalProperties": {}
                      }
                    },
                    "kind": {
                      "type": "string",
                      "const": "instance"
                    },
                    "componentId": {
                      "type": "string",
                      "pattern": "^[a-zA-Z0-9_-]{1,100}$"
                    },
                    "environmentId": {
                      "type": "string",
                      "pattern": "^[a-zA-Z0-9_-]{1,100}$"
                    },
                    "customerGroupId": {
                      "type": "string",
                      "pattern": "^[a-zA-Z0-9_-]{1,100}$"
                    },
                    "hosting": {
                      "default": "Unknown",
                      "type": "string",
                      "enum": [
                        "Unknown",
                        "On premises",
                        "Azure",
                        "AWS",
                        "Google Cloud",
                        "Other",
                        "Not applicable"
                      ]
                    },
                    "region": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "accountReference": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "cluster": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "networkBoundary": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "isolation": {
                      "default": "Unknown",
                      "type": "string",
                      "enum": [
                        "Unknown",
                        "Shared",
                        "Per customer",
                        "Deployment stamp",
                        "Mixed",
                        "Other",
                        "Not applicable"
                      ]
                    },
                    "existingResource": {
                      "default": false,
                      "type": "boolean"
                    },
                    "version": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    }
                  },
                  "required": [
                    "id",
                    "name",
                    "kind",
                    "componentId",
                    "environmentId"
                  ],
                  "additionalProperties": {}
                },
                {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "pattern": "^[a-zA-Z0-9_-]{1,100}$"
                    },
                    "name": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 180
                    },
                    "purpose": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "owner": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "certainty": {
                      "default": "unknown",
                      "type": "string",
                      "enum": [
                        "unknown",
                        "assumed",
                        "confirmed"
                      ]
                    },
                    "source": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "confirmedAt": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "scope": {
                      "default": "in",
                      "type": "string",
                      "enum": [
                        "in",
                        "out",
                        "notApplicable"
                      ]
                    },
                    "notes": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "generated": {
                      "default": false,
                      "type": "boolean"
                    },
                    "checklist": {
                      "default": [],
                      "maxItems": 200,
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "pattern": "^[a-zA-Z0-9_-]{1,100}$"
                          },
                          "title": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 250
                          },
                          "status": {
                            "default": "Unknown",
                            "type": "string",
                            "enum": [
                              "Unknown",
                              "Planned",
                              "Verified",
                              "Gap",
                              "Not applicable"
                            ]
                          },
                          "owner": {
                            "default": "",
                            "type": "string",
                            "maxLength": 12000
                          },
                          "evidence": {
                            "default": "",
                            "type": "string",
                            "maxLength": 12000
                          },
                          "guidance": {
                            "default": "",
                            "type": "string",
                            "maxLength": 12000
                          },
                          "source": {
                            "default": "",
                            "type": "string",
                            "maxLength": 12000
                          }
                        },
                        "required": [
                          "id",
                          "title"
                        ],
                        "additionalProperties": {}
                      }
                    },
                    "kind": {
                      "type": "string",
                      "const": "activity"
                    },
                    "activityType": {
                      "default": "Unknown",
                      "type": "string",
                      "enum": [
                        "Unknown",
                        "Build",
                        "Validate",
                        "Approve",
                        "Deploy",
                        "Provision",
                        "Plan",
                        "Schema change",
                        "Data change",
                        "Backfill",
                        "Switch traffic",
                        "Enable feature",
                        "Test data",
                        "Drift check",
                        "Operations",
                        "Handoff",
                        "Subflow",
                        "Other",
                        "Not applicable"
                      ]
                    },
                    "deliveryStream": {
                      "default": "Unknown",
                      "type": "string",
                      "enum": [
                        "Unknown",
                        "Infrastructure",
                        "Application",
                        "Database",
                        "Shared",
                        "Other",
                        "Not applicable"
                      ]
                    },
                    "implementation": {
                      "default": "Unknown",
                      "type": "string",
                      "enum": [
                        "Unknown",
                        "Manual runbook",
                        "Operator-launched script",
                        "Orchestrated pipeline",
                        "Pull-based reconciliation",
                        "Existing resource prerequisite",
                        "Not implemented",
                        "Other",
                        "Not applicable"
                      ]
                    },
                    "capability": {
                      "default": "Unknown",
                      "type": "string",
                      "enum": [
                        "Unknown",
                        "Existing",
                        "Not in place",
                        "Proposed",
                        "Other",
                        "Not applicable"
                      ]
                    },
                    "componentId": {
                      "type": "string",
                      "pattern": "^[a-zA-Z0-9_-]{1,100}$"
                    },
                    "environmentId": {
                      "type": "string",
                      "pattern": "^[a-zA-Z0-9_-]{1,100}$"
                    },
                    "customerGroupId": {
                      "type": "string",
                      "pattern": "^[a-zA-Z0-9_-]{1,100}$"
                    },
                    "toolIds": {
                      "default": [],
                      "maxItems": 1000,
                      "type": "array",
                      "items": {
                        "type": "string",
                        "pattern": "^[a-zA-Z0-9_-]{1,100}$"
                      }
                    },
                    "repositoryId": {
                      "type": "string",
                      "pattern": "^[a-zA-Z0-9_-]{1,100}$"
                    },
                    "artifactIds": {
                      "default": [],
                      "maxItems": 1000,
                      "type": "array",
                      "items": {
                        "type": "string",
                        "pattern": "^[a-zA-Z0-9_-]{1,100}$"
                      }
                    },
                    "automation": {
                      "default": "Unknown",
                      "type": "string",
                      "enum": [
                        "Unknown",
                        "Manual",
                        "Assisted",
                        "Automated"
                      ]
                    },
                    "trigger": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "humanWork": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "condition": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "prerequisite": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "existingSatisfies": {
                      "default": false,
                      "type": "boolean"
                    },
                    "runner": {
                      "default": "Unknown",
                      "type": "string",
                      "enum": [
                        "Unknown",
                        "Hosted",
                        "Self hosted",
                        "Operator workstation",
                        "Other",
                        "Not applicable"
                      ]
                    },
                    "executionIdentity": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "networkPaths": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "permissions": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "concurrency": {
                      "default": 1,
                      "type": "integer",
                      "minimum": 1,
                      "maximum": 10000
                    },
                    "lockingPolicy": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "commandReference": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "destructive": {
                      "default": false,
                      "type": "boolean"
                    },
                    "compatibility": {
                      "default": "Unknown",
                      "type": "string",
                      "enum": [
                        "Unknown",
                        "Old and new versions",
                        "New version only",
                        "Incompatible",
                        "Other",
                        "Not applicable"
                      ]
                    },
                    "dataSource": {
                      "default": "Unknown",
                      "type": "string",
                      "enum": [
                        "Unknown",
                        "Synthetic",
                        "Production",
                        "Clone",
                        "Self service",
                        "Other",
                        "Not applicable"
                      ]
                    },
                    "masking": {
                      "default": "Unknown",
                      "type": "string",
                      "enum": [
                        "Unknown",
                        "Verified",
                        "Unmasked",
                        "Other",
                        "Not applicable"
                      ]
                    },
                    "refreshCadence": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "accessRestrictions": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "retention": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "cleanup": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "retryHandling": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "monitoring": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "alertOwner": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "healthThresholds": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "observationPeriod": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "overrides": {
                      "default": [],
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  },
                  "required": [
                    "id",
                    "name",
                    "kind"
                  ],
                  "additionalProperties": {}
                },
                {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "pattern": "^[a-zA-Z0-9_-]{1,100}$"
                    },
                    "name": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 180
                    },
                    "purpose": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "owner": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "certainty": {
                      "default": "unknown",
                      "type": "string",
                      "enum": [
                        "unknown",
                        "assumed",
                        "confirmed"
                      ]
                    },
                    "source": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "confirmedAt": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "scope": {
                      "default": "in",
                      "type": "string",
                      "enum": [
                        "in",
                        "out",
                        "notApplicable"
                      ]
                    },
                    "notes": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "generated": {
                      "default": false,
                      "type": "boolean"
                    },
                    "checklist": {
                      "default": [],
                      "maxItems": 200,
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "pattern": "^[a-zA-Z0-9_-]{1,100}$"
                          },
                          "title": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 250
                          },
                          "status": {
                            "default": "Unknown",
                            "type": "string",
                            "enum": [
                              "Unknown",
                              "Planned",
                              "Verified",
                              "Gap",
                              "Not applicable"
                            ]
                          },
                          "owner": {
                            "default": "",
                            "type": "string",
                            "maxLength": 12000
                          },
                          "evidence": {
                            "default": "",
                            "type": "string",
                            "maxLength": 12000
                          },
                          "guidance": {
                            "default": "",
                            "type": "string",
                            "maxLength": 12000
                          },
                          "source": {
                            "default": "",
                            "type": "string",
                            "maxLength": 12000
                          }
                        },
                        "required": [
                          "id",
                          "title"
                        ],
                        "additionalProperties": {}
                      }
                    },
                    "kind": {
                      "type": "string",
                      "const": "repository"
                    },
                    "provider": {
                      "default": "Unknown",
                      "type": "string",
                      "enum": [
                        "Unknown",
                        "GitHub",
                        "Azure Repos",
                        "GitLab",
                        "Bitbucket",
                        "No version control",
                        "Other",
                        "Not applicable"
                      ]
                    },
                    "url": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "paths": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "structure": {
                      "default": "Unknown",
                      "type": "string",
                      "enum": [
                        "Unknown",
                        "Monorepo",
                        "Multiple repositories",
                        "Other",
                        "Not applicable"
                      ]
                    },
                    "contents": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "branching": {
                      "default": "Unknown",
                      "type": "string",
                      "enum": [
                        "Unknown",
                        "Trunk based",
                        "Short feature branches",
                        "Gitflow",
                        "Release branches",
                        "Environment branches",
                        "Customer branches",
                        "Customer repositories",
                        "Custom",
                        "Other",
                        "Not applicable"
                      ]
                    },
                    "customerTrunkMeaning": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "review": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "branchProtection": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "releaseTags": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "versioning": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "reconciliation": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    }
                  },
                  "required": [
                    "id",
                    "name",
                    "kind"
                  ],
                  "additionalProperties": {}
                },
                {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "pattern": "^[a-zA-Z0-9_-]{1,100}$"
                    },
                    "name": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 180
                    },
                    "purpose": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "owner": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "certainty": {
                      "default": "unknown",
                      "type": "string",
                      "enum": [
                        "unknown",
                        "assumed",
                        "confirmed"
                      ]
                    },
                    "source": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "confirmedAt": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "scope": {
                      "default": "in",
                      "type": "string",
                      "enum": [
                        "in",
                        "out",
                        "notApplicable"
                      ]
                    },
                    "notes": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "generated": {
                      "default": false,
                      "type": "boolean"
                    },
                    "checklist": {
                      "default": [],
                      "maxItems": 200,
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "pattern": "^[a-zA-Z0-9_-]{1,100}$"
                          },
                          "title": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 250
                          },
                          "status": {
                            "default": "Unknown",
                            "type": "string",
                            "enum": [
                              "Unknown",
                              "Planned",
                              "Verified",
                              "Gap",
                              "Not applicable"
                            ]
                          },
                          "owner": {
                            "default": "",
                            "type": "string",
                            "maxLength": 12000
                          },
                          "evidence": {
                            "default": "",
                            "type": "string",
                            "maxLength": 12000
                          },
                          "guidance": {
                            "default": "",
                            "type": "string",
                            "maxLength": 12000
                          },
                          "source": {
                            "default": "",
                            "type": "string",
                            "maxLength": 12000
                          }
                        },
                        "required": [
                          "id",
                          "title"
                        ],
                        "additionalProperties": {}
                      }
                    },
                    "kind": {
                      "type": "string",
                      "const": "tool"
                    },
                    "category": {
                      "default": "Unknown",
                      "type": "string",
                      "enum": [
                        "Unknown",
                        "Source hosting",
                        "Build",
                        "Deployment",
                        "Infrastructure",
                        "Database",
                        "Test data",
                        "Testing",
                        "Operations",
                        "Other",
                        "Not applicable"
                      ]
                    },
                    "edition": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "version": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "verifiedCapabilities": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "configuration": {
                      "default": "Unknown",
                      "type": "string",
                      "enum": [
                        "Unknown",
                        "As code",
                        "In tool",
                        "Combination",
                        "Other",
                        "Not applicable"
                      ]
                    },
                    "deliveryMode": {
                      "default": "Unknown",
                      "type": "string",
                      "enum": [
                        "Unknown",
                        "Push deployment",
                        "Pull reconciliation",
                        "Manual execution",
                        "Other",
                        "Not applicable"
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "name",
                    "kind"
                  ],
                  "additionalProperties": {}
                },
                {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "pattern": "^[a-zA-Z0-9_-]{1,100}$"
                    },
                    "name": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 180
                    },
                    "purpose": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "owner": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "certainty": {
                      "default": "unknown",
                      "type": "string",
                      "enum": [
                        "unknown",
                        "assumed",
                        "confirmed"
                      ]
                    },
                    "source": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "confirmedAt": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "scope": {
                      "default": "in",
                      "type": "string",
                      "enum": [
                        "in",
                        "out",
                        "notApplicable"
                      ]
                    },
                    "notes": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "generated": {
                      "default": false,
                      "type": "boolean"
                    },
                    "checklist": {
                      "default": [],
                      "maxItems": 200,
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "pattern": "^[a-zA-Z0-9_-]{1,100}$"
                          },
                          "title": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 250
                          },
                          "status": {
                            "default": "Unknown",
                            "type": "string",
                            "enum": [
                              "Unknown",
                              "Planned",
                              "Verified",
                              "Gap",
                              "Not applicable"
                            ]
                          },
                          "owner": {
                            "default": "",
                            "type": "string",
                            "maxLength": 12000
                          },
                          "evidence": {
                            "default": "",
                            "type": "string",
                            "maxLength": 12000
                          },
                          "guidance": {
                            "default": "",
                            "type": "string",
                            "maxLength": 12000
                          },
                          "source": {
                            "default": "",
                            "type": "string",
                            "maxLength": 12000
                          }
                        },
                        "required": [
                          "id",
                          "title"
                        ],
                        "additionalProperties": {}
                      }
                    },
                    "kind": {
                      "type": "string",
                      "const": "artifact"
                    },
                    "componentId": {
                      "type": "string",
                      "pattern": "^[a-zA-Z0-9_-]{1,100}$"
                    },
                    "repositoryId": {
                      "type": "string",
                      "pattern": "^[a-zA-Z0-9_-]{1,100}$"
                    },
                    "version": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "sourceRevision": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "digest": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "registry": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "promotion": {
                      "default": "Unknown",
                      "type": "string",
                      "enum": [
                        "Unknown",
                        "Same immutable artifact",
                        "Rebuilt per environment",
                        "Other",
                        "Not applicable"
                      ]
                    },
                    "releaseManifest": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    }
                  },
                  "required": [
                    "id",
                    "name",
                    "kind"
                  ],
                  "additionalProperties": {}
                },
                {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "pattern": "^[a-zA-Z0-9_-]{1,100}$"
                    },
                    "name": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 180
                    },
                    "purpose": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "owner": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "certainty": {
                      "default": "unknown",
                      "type": "string",
                      "enum": [
                        "unknown",
                        "assumed",
                        "confirmed"
                      ]
                    },
                    "source": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "confirmedAt": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "scope": {
                      "default": "in",
                      "type": "string",
                      "enum": [
                        "in",
                        "out",
                        "notApplicable"
                      ]
                    },
                    "notes": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "generated": {
                      "default": false,
                      "type": "boolean"
                    },
                    "checklist": {
                      "default": [],
                      "maxItems": 200,
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "pattern": "^[a-zA-Z0-9_-]{1,100}$"
                          },
                          "title": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 250
                          },
                          "status": {
                            "default": "Unknown",
                            "type": "string",
                            "enum": [
                              "Unknown",
                              "Planned",
                              "Verified",
                              "Gap",
                              "Not applicable"
                            ]
                          },
                          "owner": {
                            "default": "",
                            "type": "string",
                            "maxLength": 12000
                          },
                          "evidence": {
                            "default": "",
                            "type": "string",
                            "maxLength": 12000
                          },
                          "guidance": {
                            "default": "",
                            "type": "string",
                            "maxLength": 12000
                          },
                          "source": {
                            "default": "",
                            "type": "string",
                            "maxLength": 12000
                          }
                        },
                        "required": [
                          "id",
                          "title"
                        ],
                        "additionalProperties": {}
                      }
                    },
                    "kind": {
                      "type": "string",
                      "const": "customerGroup"
                    },
                    "count": {
                      "default": 1,
                      "type": "integer",
                      "minimum": 1,
                      "maximum": 1000000
                    },
                    "templateId": {
                      "type": "string",
                      "pattern": "^[a-zA-Z0-9_-]{1,100}$"
                    },
                    "templateVersion": {
                      "type": "integer",
                      "minimum": 1,
                      "maximum": 9007199254740991
                    },
                    "applicationTenancy": {
                      "default": "Unknown",
                      "type": "string",
                      "enum": [
                        "Unknown",
                        "Shared",
                        "Per customer",
                        "Deployment stamp",
                        "Mixed",
                        "Other",
                        "Not applicable"
                      ]
                    },
                    "databaseTenancy": {
                      "default": "Unknown",
                      "type": "string",
                      "enum": [
                        "Unknown",
                        "Shared",
                        "Per customer",
                        "Deployment stamp",
                        "Mixed",
                        "Other",
                        "Not applicable"
                      ]
                    },
                    "infrastructureIsolation": {
                      "default": "Unknown",
                      "type": "string",
                      "enum": [
                        "Unknown",
                        "Shared",
                        "Per customer",
                        "Deployment stamp",
                        "Mixed",
                        "Other",
                        "Not applicable"
                      ]
                    },
                    "cohort": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "customerSchedule": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "supportedVersionLag": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "waves": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "canaryCustomers": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "concurrency": {
                      "default": 1,
                      "type": "integer",
                      "minimum": 1,
                      "maximum": 10000
                    },
                    "stopThreshold": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "pauseResume": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "retryHandling": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "partialFailure": {
                      "default": "Unknown",
                      "type": "string",
                      "enum": [
                        "Unknown",
                        "Stop entire rollout",
                        "Stop affected customer",
                        "Continue with review",
                        "Other",
                        "Not applicable"
                      ]
                    },
                    "defaults": {
                      "default": {},
                      "type": "object",
                      "propertyNames": {
                        "type": "string"
                      },
                      "additionalProperties": {
                        "type": "string",
                        "maxLength": 12000
                      }
                    },
                    "overrides": {
                      "default": [],
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "pattern": "^[a-zA-Z0-9_-]{1,100}$"
                          },
                          "customer": {
                            "type": "string",
                            "maxLength": 12000
                          },
                          "reason": {
                            "type": "string",
                            "maxLength": 12000
                          },
                          "values": {
                            "type": "object",
                            "propertyNames": {
                              "type": "string"
                            },
                            "additionalProperties": {
                              "type": "string",
                              "maxLength": 12000
                            }
                          }
                        },
                        "required": [
                          "id",
                          "customer",
                          "reason",
                          "values"
                        ],
                        "additionalProperties": {}
                      }
                    }
                  },
                  "required": [
                    "id",
                    "name",
                    "kind"
                  ],
                  "additionalProperties": {}
                },
                {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "pattern": "^[a-zA-Z0-9_-]{1,100}$"
                    },
                    "name": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 180
                    },
                    "purpose": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "owner": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "certainty": {
                      "default": "unknown",
                      "type": "string",
                      "enum": [
                        "unknown",
                        "assumed",
                        "confirmed"
                      ]
                    },
                    "source": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "confirmedAt": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "scope": {
                      "default": "in",
                      "type": "string",
                      "enum": [
                        "in",
                        "out",
                        "notApplicable"
                      ]
                    },
                    "notes": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "generated": {
                      "default": false,
                      "type": "boolean"
                    },
                    "checklist": {
                      "default": [],
                      "maxItems": 200,
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "pattern": "^[a-zA-Z0-9_-]{1,100}$"
                          },
                          "title": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 250
                          },
                          "status": {
                            "default": "Unknown",
                            "type": "string",
                            "enum": [
                              "Unknown",
                              "Planned",
                              "Verified",
                              "Gap",
                              "Not applicable"
                            ]
                          },
                          "owner": {
                            "default": "",
                            "type": "string",
                            "maxLength": 12000
                          },
                          "evidence": {
                            "default": "",
                            "type": "string",
                            "maxLength": 12000
                          },
                          "guidance": {
                            "default": "",
                            "type": "string",
                            "maxLength": 12000
                          },
                          "source": {
                            "default": "",
                            "type": "string",
                            "maxLength": 12000
                          }
                        },
                        "required": [
                          "id",
                          "title"
                        ],
                        "additionalProperties": {}
                      }
                    },
                    "kind": {
                      "type": "string",
                      "const": "template"
                    },
                    "version": {
                      "default": 1,
                      "type": "integer",
                      "minimum": 1,
                      "maximum": 9007199254740991
                    },
                    "familyId": {
                      "type": "string",
                      "pattern": "^[a-zA-Z0-9_-]{1,100}$"
                    },
                    "defaults": {
                      "default": {},
                      "type": "object",
                      "propertyNames": {
                        "type": "string"
                      },
                      "additionalProperties": {
                        "type": "string",
                        "maxLength": 12000
                      }
                    }
                  },
                  "required": [
                    "id",
                    "name",
                    "kind",
                    "familyId"
                  ],
                  "additionalProperties": {}
                },
                {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "pattern": "^[a-zA-Z0-9_-]{1,100}$"
                    },
                    "name": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 180
                    },
                    "purpose": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "owner": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "certainty": {
                      "default": "unknown",
                      "type": "string",
                      "enum": [
                        "unknown",
                        "assumed",
                        "confirmed"
                      ]
                    },
                    "source": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "confirmedAt": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "scope": {
                      "default": "in",
                      "type": "string",
                      "enum": [
                        "in",
                        "out",
                        "notApplicable"
                      ]
                    },
                    "notes": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "generated": {
                      "default": false,
                      "type": "boolean"
                    },
                    "checklist": {
                      "default": [],
                      "maxItems": 200,
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "pattern": "^[a-zA-Z0-9_-]{1,100}$"
                          },
                          "title": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 250
                          },
                          "status": {
                            "default": "Unknown",
                            "type": "string",
                            "enum": [
                              "Unknown",
                              "Planned",
                              "Verified",
                              "Gap",
                              "Not applicable"
                            ]
                          },
                          "owner": {
                            "default": "",
                            "type": "string",
                            "maxLength": 12000
                          },
                          "evidence": {
                            "default": "",
                            "type": "string",
                            "maxLength": 12000
                          },
                          "guidance": {
                            "default": "",
                            "type": "string",
                            "maxLength": 12000
                          },
                          "source": {
                            "default": "",
                            "type": "string",
                            "maxLength": 12000
                          }
                        },
                        "required": [
                          "id",
                          "title"
                        ],
                        "additionalProperties": {}
                      }
                    },
                    "kind": {
                      "type": "string",
                      "const": "gate"
                    },
                    "gateType": {
                      "default": "Unknown",
                      "type": "string",
                      "enum": [
                        "Unknown",
                        "Unit tests",
                        "Static analysis",
                        "Dependency scanning",
                        "Secret scanning",
                        "Infrastructure validation",
                        "Policy checks",
                        "Migration validation",
                        "Database unit tests",
                        "Integration tests",
                        "API contract tests",
                        "End to end tests",
                        "Performance tests",
                        "Security tests",
                        "User acceptance",
                        "Smoke tests",
                        "Restore rehearsal",
                        "Compatibility check",
                        "Approval",
                        "Other",
                        "Not applicable"
                      ]
                    },
                    "componentId": {
                      "type": "string",
                      "pattern": "^[a-zA-Z0-9_-]{1,100}$"
                    },
                    "environmentId": {
                      "type": "string",
                      "pattern": "^[a-zA-Z0-9_-]{1,100}$"
                    },
                    "activityId": {
                      "type": "string",
                      "pattern": "^[a-zA-Z0-9_-]{1,100}$"
                    },
                    "automation": {
                      "default": "Unknown",
                      "type": "string",
                      "enum": [
                        "Unknown",
                        "Manual",
                        "Assisted",
                        "Automated"
                      ]
                    },
                    "checks": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "entryCriteria": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "passCondition": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "evidence": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "result": {
                      "default": "Unknown",
                      "type": "string",
                      "enum": [
                        "Unknown",
                        "Passed",
                        "Failed",
                        "Configured",
                        "Other",
                        "Not applicable"
                      ]
                    },
                    "blocksProgression": {
                      "default": true,
                      "type": "boolean"
                    },
                    "separationOfDuties": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "maintenanceWindow": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "customerSignoff": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "communications": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "handover": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "joinPolicy": {
                      "default": "All prerequisites",
                      "type": "string",
                      "enum": [
                        "All prerequisites",
                        "Any prerequisite"
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "name",
                    "kind"
                  ],
                  "additionalProperties": {}
                },
                {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "pattern": "^[a-zA-Z0-9_-]{1,100}$"
                    },
                    "name": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 180
                    },
                    "purpose": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "owner": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "certainty": {
                      "default": "unknown",
                      "type": "string",
                      "enum": [
                        "unknown",
                        "assumed",
                        "confirmed"
                      ]
                    },
                    "source": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "confirmedAt": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "scope": {
                      "default": "in",
                      "type": "string",
                      "enum": [
                        "in",
                        "out",
                        "notApplicable"
                      ]
                    },
                    "notes": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "generated": {
                      "default": false,
                      "type": "boolean"
                    },
                    "checklist": {
                      "default": [],
                      "maxItems": 200,
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "pattern": "^[a-zA-Z0-9_-]{1,100}$"
                          },
                          "title": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 250
                          },
                          "status": {
                            "default": "Unknown",
                            "type": "string",
                            "enum": [
                              "Unknown",
                              "Planned",
                              "Verified",
                              "Gap",
                              "Not applicable"
                            ]
                          },
                          "owner": {
                            "default": "",
                            "type": "string",
                            "maxLength": 12000
                          },
                          "evidence": {
                            "default": "",
                            "type": "string",
                            "maxLength": 12000
                          },
                          "guidance": {
                            "default": "",
                            "type": "string",
                            "maxLength": 12000
                          },
                          "source": {
                            "default": "",
                            "type": "string",
                            "maxLength": 12000
                          }
                        },
                        "required": [
                          "id",
                          "title"
                        ],
                        "additionalProperties": {}
                      }
                    },
                    "kind": {
                      "type": "string",
                      "const": "recovery"
                    },
                    "recoveryType": {
                      "default": "Unknown",
                      "type": "string",
                      "enum": [
                        "Unknown",
                        "Schema rollback",
                        "Application rollback",
                        "Compensating migration",
                        "Roll forward",
                        "Backup restoration",
                        "Other",
                        "Not applicable"
                      ]
                    },
                    "componentId": {
                      "type": "string",
                      "pattern": "^[a-zA-Z0-9_-]{1,100}$"
                    },
                    "environmentId": {
                      "type": "string",
                      "pattern": "^[a-zA-Z0-9_-]{1,100}$"
                    },
                    "activityId": {
                      "type": "string",
                      "pattern": "^[a-zA-Z0-9_-]{1,100}$"
                    },
                    "defined": {
                      "default": "Unknown",
                      "type": "string",
                      "enum": [
                        "Unknown",
                        "Yes",
                        "No",
                        "Other",
                        "Not applicable"
                      ]
                    },
                    "tested": {
                      "default": "Unknown",
                      "type": "string",
                      "enum": [
                        "Unknown",
                        "Yes",
                        "No",
                        "Other",
                        "Not applicable"
                      ]
                    },
                    "permissions": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "expectedRecoveryTime": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "possibleDataLoss": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "runbook": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    }
                  },
                  "required": [
                    "id",
                    "name",
                    "kind"
                  ],
                  "additionalProperties": {}
                },
                {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "pattern": "^[a-zA-Z0-9_-]{1,100}$"
                    },
                    "name": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 180
                    },
                    "purpose": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "owner": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "certainty": {
                      "default": "unknown",
                      "type": "string",
                      "enum": [
                        "unknown",
                        "assumed",
                        "confirmed"
                      ]
                    },
                    "source": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "confirmedAt": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "scope": {
                      "default": "in",
                      "type": "string",
                      "enum": [
                        "in",
                        "out",
                        "notApplicable"
                      ]
                    },
                    "notes": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "generated": {
                      "default": false,
                      "type": "boolean"
                    },
                    "checklist": {
                      "default": [],
                      "maxItems": 200,
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "pattern": "^[a-zA-Z0-9_-]{1,100}$"
                          },
                          "title": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 250
                          },
                          "status": {
                            "default": "Unknown",
                            "type": "string",
                            "enum": [
                              "Unknown",
                              "Planned",
                              "Verified",
                              "Gap",
                              "Not applicable"
                            ]
                          },
                          "owner": {
                            "default": "",
                            "type": "string",
                            "maxLength": 12000
                          },
                          "evidence": {
                            "default": "",
                            "type": "string",
                            "maxLength": 12000
                          },
                          "guidance": {
                            "default": "",
                            "type": "string",
                            "maxLength": 12000
                          },
                          "source": {
                            "default": "",
                            "type": "string",
                            "maxLength": 12000
                          }
                        },
                        "required": [
                          "id",
                          "title"
                        ],
                        "additionalProperties": {}
                      }
                    },
                    "kind": {
                      "type": "string",
                      "const": "decision"
                    },
                    "decisionType": {
                      "default": "Unknown",
                      "type": "string",
                      "enum": [
                        "Unknown",
                        "Decision",
                        "Assumption",
                        "Constraint",
                        "Exception",
                        "Other",
                        "Not applicable"
                      ]
                    },
                    "rationale": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "affectedIds": {
                      "default": [],
                      "maxItems": 1000,
                      "type": "array",
                      "items": {
                        "type": "string",
                        "pattern": "^[a-zA-Z0-9_-]{1,100}$"
                      }
                    }
                  },
                  "required": [
                    "id",
                    "name",
                    "kind"
                  ],
                  "additionalProperties": {}
                },
                {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "pattern": "^[a-zA-Z0-9_-]{1,100}$"
                    },
                    "name": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 180
                    },
                    "purpose": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "owner": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "certainty": {
                      "default": "unknown",
                      "type": "string",
                      "enum": [
                        "unknown",
                        "assumed",
                        "confirmed"
                      ]
                    },
                    "source": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "confirmedAt": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "scope": {
                      "default": "in",
                      "type": "string",
                      "enum": [
                        "in",
                        "out",
                        "notApplicable"
                      ]
                    },
                    "notes": {
                      "default": "",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "generated": {
                      "default": false,
                      "type": "boolean"
                    },
                    "checklist": {
                      "default": [],
                      "maxItems": 200,
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "pattern": "^[a-zA-Z0-9_-]{1,100}$"
                          },
                          "title": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 250
                          },
                          "status": {
                            "default": "Unknown",
                            "type": "string",
                            "enum": [
                              "Unknown",
                              "Planned",
                              "Verified",
                              "Gap",
                              "Not applicable"
                            ]
                          },
                          "owner": {
                            "default": "",
                            "type": "string",
                            "maxLength": 12000
                          },
                          "evidence": {
                            "default": "",
                            "type": "string",
                            "maxLength": 12000
                          },
                          "guidance": {
                            "default": "",
                            "type": "string",
                            "maxLength": 12000
                          },
                          "source": {
                            "default": "",
                            "type": "string",
                            "maxLength": 12000
                          }
                        },
                        "required": [
                          "id",
                          "title"
                        ],
                        "additionalProperties": {}
                      }
                    },
                    "kind": {
                      "type": "string",
                      "const": "note"
                    }
                  },
                  "required": [
                    "id",
                    "name",
                    "kind"
                  ],
                  "additionalProperties": {}
                }
              ]
            }
          },
          "dependencies": {
            "maxItems": 20000,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "pattern": "^[a-zA-Z0-9_-]{1,100}$"
                },
                "kind": {
                  "type": "string",
                  "enum": [
                    "execution",
                    "promotion",
                    "runtime",
                    "configuration",
                    "dataRefresh",
                    "recovery"
                  ]
                },
                "source": {
                  "type": "string",
                  "pattern": "^[a-zA-Z0-9_-]{1,100}$"
                },
                "target": {
                  "type": "string",
                  "pattern": "^[a-zA-Z0-9_-]{1,100}$"
                },
                "label": {
                  "type": "string",
                  "maxLength": 180
                },
                "reference": {
                  "default": "",
                  "type": "string",
                  "maxLength": 12000
                },
                "requirement": {
                  "default": "",
                  "type": "string",
                  "maxLength": 12000
                },
                "environmentMapping": {
                  "default": "",
                  "type": "string",
                  "maxLength": 12000
                },
                "condition": {
                  "default": "",
                  "type": "string",
                  "maxLength": 12000
                },
                "certainty": {
                  "default": "unknown",
                  "type": "string",
                  "enum": [
                    "unknown",
                    "assumed",
                    "confirmed"
                  ]
                },
                "scope": {
                  "default": "in",
                  "type": "string",
                  "enum": [
                    "in",
                    "out",
                    "notApplicable"
                  ]
                }
              },
              "required": [
                "id",
                "kind",
                "source",
                "target",
                "label"
              ],
              "additionalProperties": {}
            }
          },
          "description": {
            "default": "",
            "type": "string",
            "maxLength": 12000
          },
          "templateAnswers": {
            "default": {},
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {
              "type": "string",
              "maxLength": 12000
            }
          },
          "defaults": {
            "type": "object",
            "properties": {
              "automation": {
                "default": "Unknown",
                "type": "string",
                "enum": [
                  "Unknown",
                  "Manual",
                  "Assisted",
                  "Automated"
                ]
              },
              "hosting": {
                "default": "",
                "type": "string",
                "maxLength": 12000
              },
              "trigger": {
                "default": "",
                "type": "string",
                "maxLength": 12000
              },
              "toolIds": {
                "default": [],
                "maxItems": 1000,
                "type": "array",
                "items": {
                  "type": "string",
                  "pattern": "^[a-zA-Z0-9_-]{1,100}$"
                }
              }
            },
            "additionalProperties": {}
          },
          "presentation": {
            "default": {},
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {
              "type": "object",
              "properties": {
                "positions": {
                  "default": {},
                  "type": "object",
                  "propertyNames": {
                    "type": "string",
                    "pattern": "^[a-zA-Z0-9_-]{1,100}$"
                  },
                  "additionalProperties": {
                    "type": "object",
                    "properties": {
                      "x": {
                        "type": "number"
                      },
                      "y": {
                        "type": "number"
                      }
                    },
                    "required": [
                      "x",
                      "y"
                    ],
                    "additionalProperties": {}
                  }
                },
                "pinned": {
                  "default": [],
                  "maxItems": 1000,
                  "type": "array",
                  "items": {
                    "type": "string",
                    "pattern": "^[a-zA-Z0-9_-]{1,100}$"
                  }
                },
                "collapsed": {
                  "default": [],
                  "maxItems": 1000,
                  "type": "array",
                  "items": {
                    "type": "string",
                    "pattern": "^[a-zA-Z0-9_-]{1,100}$"
                  }
                },
                "filters": {
                  "default": [
                    "execution",
                    "promotion"
                  ],
                  "type": "array",
                  "items": {
                    "type": "string",
                    "enum": [
                      "execution",
                      "promotion",
                      "runtime",
                      "configuration",
                      "dataRefresh",
                      "recovery"
                    ]
                  }
                },
                "viewport": {
                  "type": "object",
                  "properties": {
                    "x": {
                      "type": "number"
                    },
                    "y": {
                      "type": "number"
                    },
                    "zoom": {
                      "type": "number",
                      "minimum": 0.02,
                      "maximum": 10
                    }
                  },
                  "required": [
                    "x",
                    "y",
                    "zoom"
                  ],
                  "additionalProperties": {}
                }
              },
              "additionalProperties": {}
            }
          },
          "discovery": {
            "type": "object",
            "properties": {
              "mode": {
                "type": "string",
                "enum": [
                  "quick",
                  "detailed"
                ]
              },
              "topic": {
                "default": "",
                "type": "string",
                "maxLength": 12000
              },
              "visited": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            },
            "required": [
              "mode",
              "visited"
            ],
            "additionalProperties": {}
          }
        },
        "required": [
          "id",
          "name",
          "type",
          "entities",
          "dependencies",
          "defaults",
          "discovery"
        ],
        "additionalProperties": {}
      }
    },
    "improvementItems": {
      "default": [],
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^[a-zA-Z0-9_-]{1,100}$"
          },
          "scenarioId": {
            "type": "string",
            "pattern": "^[a-zA-Z0-9_-]{1,100}$"
          },
          "title": {
            "type": "string",
            "maxLength": 12000
          },
          "owner": {
            "default": "",
            "type": "string",
            "maxLength": 12000
          },
          "priority": {
            "type": "string",
            "enum": [
              "High",
              "Medium",
              "Low"
            ]
          },
          "dependency": {
            "default": "",
            "type": "string",
            "maxLength": 12000
          },
          "acceptanceCriterion": {
            "default": "",
            "type": "string",
            "maxLength": 12000
          },
          "sourceFindingId": {
            "default": "",
            "type": "string",
            "maxLength": 12000
          },
          "status": {
            "default": "Open",
            "type": "string",
            "enum": [
              "Open",
              "In progress",
              "Done"
            ]
          }
        },
        "required": [
          "id",
          "scenarioId",
          "title",
          "priority"
        ],
        "additionalProperties": {}
      }
    },
    "findingStatuses": {
      "default": {},
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {
        "type": "object",
        "properties": {
          "status": {
            "type": "string",
            "enum": [
              "open",
              "acknowledged",
              "dismissed"
            ]
          },
          "reason": {
            "default": "",
            "type": "string",
            "maxLength": 12000
          }
        },
        "required": [
          "status"
        ],
        "additionalProperties": {}
      }
    }
  },
  "required": [
    "schemaVersion",
    "id",
    "revision",
    "createdAt",
    "updatedAt",
    "project",
    "scenarios"
  ],
  "additionalProperties": {},
  "$id": "https://automationmodeler.com/schema/automation-blueprint.v1.schema.json",
  "title": "Automation Modeler Blueprint v1",
  "description": "A portable, local JSON document for current and target automation designs. Optional fields may be added compatibly; incompatible changes require a new schema version and migration."
}
