{
  "$id": "https://paulkov.github.io/dpone/schemas/gitops/airflow-desired-state-publish-intent.schema.json",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "properties": {
    "candidate_sha256": {
      "pattern": "^sha256:[0-9a-f]{64}$",
      "type": "string"
    },
    "occurrence_id": {
      "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
      "type": "string"
    },
    "promoted_at": {
      "format": "date-time",
      "maxLength": 40,
      "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(?:\\.[0-9]{1,6})?Z$",
      "type": "string"
    },
    "schema": {
      "const": "dpone.airflow-desired-state-publish-intent.v1"
    }
  },
  "required": [
    "schema",
    "candidate_sha256",
    "occurrence_id",
    "promoted_at"
  ],
  "title": "dpone GitOps Airflow desired-state durable publish intent",
  "type": "object"
}
