{
  "$id": "https://dpone.dev/schemas/dpone.dbt-prod-promotion.v3.json",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "properties": {
    "dev_deployment_id": {
      "pattern": "^sha256:[0-9a-f]{64}$",
      "type": "string"
    },
    "dev_evidence_artifact_name": {
      "maxLength": 2048,
      "minLength": 1,
      "pattern": "^[^\\u0000-\\u001f\\u007f]+$",
      "type": "string"
    },
    "dev_evidence_campaign_request_sha256": {
      "pattern": "^sha256:[0-9a-f]{64}$",
      "type": "string"
    },
    "dev_evidence_producer_workflow": {
      "maxLength": 2048,
      "minLength": 1,
      "pattern": "^[^\\u0000-\\u001f\\u007f]+$",
      "type": "string"
    },
    "dev_evidence_ref": {
      "maxLength": 2048,
      "minLength": 1,
      "pattern": "^[^\\u0000-\\u001f\\u007f]+$",
      "type": "string"
    },
    "dev_evidence_set_id": {
      "pattern": "^sha256:[0-9a-f]{64}$",
      "type": "string"
    },
    "dev_evidence_source_commit": {
      "pattern": "^[0-9a-f]{40}$",
      "type": "string"
    },
    "dev_evidence_subject_sha256": {
      "pattern": "^sha256:[0-9a-f]{64}$",
      "type": "string"
    },
    "mirror_root": {
      "maxLength": 1024,
      "minLength": 1,
      "pattern": "^(?!/)(?!.*(?:^|/)\\.\\.(?:/|$))(?!.*\\\\).+$",
      "type": "string"
    },
    "promotion_id": {
      "pattern": "^sha256:[0-9a-f]{64}$",
      "type": "string"
    },
    "release_id": {
      "pattern": "^sha256:[0-9a-f]{64}$",
      "type": "string"
    },
    "schema": {
      "const": "dpone.dbt-prod-promotion.v3"
    },
    "source_snapshot_path": {
      "maxLength": 1024,
      "minLength": 1,
      "pattern": "^(?!/)(?!.*(?:^|/)\\.\\.(?:/|$))(?!.*\\\\).+$",
      "type": "string"
    },
    "source_snapshot_sha256": {
      "pattern": "^sha256:[0-9a-f]{64}$",
      "type": "string"
    }
  },
  "required": [
    "schema",
    "release_id",
    "source_snapshot_path",
    "source_snapshot_sha256",
    "dev_deployment_id",
    "dev_evidence_ref",
    "dev_evidence_subject_sha256",
    "dev_evidence_artifact_name",
    "dev_evidence_producer_workflow",
    "dev_evidence_source_commit",
    "promotion_id",
    "dev_evidence_set_id",
    "dev_evidence_campaign_request_sha256",
    "mirror_root"
  ],
  "type": "object"
}
