{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://docs.demiton.io/registers/tender_baseline_active/v1.json",
  "title": "tender_baseline_active contract v1",
  "type": "object",
  "required": [
    "active_version_id"
  ],
  "properties": {
    "updated_at": {
      "type": "string",
      "description": "When the pointer last moved.",
      "x-demiton-requiredness": "optional",
      "x-demiton-unit": "UTC",
      "format": "date-time",
      "x-demiton-type": "datetime"
    },
    "activated_by": {
      "type": "string",
      "description": "Who or what moved the pointer: an explicit human promotion, or the build that auto-activated because no version was active.",
      "x-demiton-requiredness": "optional"
    },
    "baseline_method": {
      "type": "string",
      "description": "The `method` string of the version being pinned (`robust_stats`, `cost`, `cost_structure`).",
      "x-demiton-requiredness": "optional"
    },
    "_workflow_run_id": {
      "type": "integer",
      "description": "The producing `WorkflowRun` id, when the pointer was written by a run.",
      "x-demiton-requiredness": "optional"
    },
    "active_version_id": {
      "type": "integer",
      "description": "The `version_id` of the `tender_baseline` build this org currently reads.",
      "x-demiton-requiredness": "required"
    }
  },
  "x-demiton-register-type": "tender_baseline_active",
  "x-demiton-contract-version": "1.0.1",
  "x-demiton-store": "tenant",
  "x-demiton-axes": [],
  "x-demiton-measures": [],
  "x-demiton-provenance": {
    "standards": []
  },
  "description": "Which tender baseline is the current reference for a project.",
  "x-demiton-contract-url": "https://docs.demiton.io/registers/tender_baseline_active/",
  "x-demiton-register-catalog": "https://docs.demiton.io/concepts/register-catalog"
}