{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "IG Publication Input",
  "description": "Input schema for FHIR Implementation Guide publication.",
  "type": "object",
  "required": [
    "igRoot",
    "versionIncrement"
  ],
  "properties": {
    "igRoot": {
      "type": "string",
      "description": "Path to the IG repository root."
    },
    "versionIncrement": {
      "type": "string",
      "enum": [
        "major",
        "minor",
        "patch"
      ],
      "description": "Semantic version increment type."
    },
    "releaseNotes": {
      "type": "string",
      "description": "Release notes for this publication."
    },
    "publicationTarget": {
      "type": "string",
      "enum": [
        "github-pages",
        "canonical-host",
        "both"
      ],
      "default": "github-pages",
      "description": "Where the release is published. `canonical-host` is the host the IG's own canonical URL names (for a WHO SMART IG, smart.who.int) — named generically because fhir-harness knows no particular publisher (#1767)."
    }
  },
  "$id": "https://litlfred.github.io/folio-assistant/fhir-harness/schema/skills/ig-publication/input.schema.json"
}
