{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://iarpg.com/role-profile.schema.json",
  "title": "IARPG Role Profile",
  "type": "object",
  "required": [
    "code",
    "slug",
    "name",
    "interface",
    "summary",
    "responsibilities",
    "information_available",
    "information_withheld",
    "primary_interactions",
    "decision_authority",
    "escalation_paths",
    "handoff_requirements",
    "failure_risks",
    "standards",
    "mission_phases"
  ],
  "properties": {
    "code": {
      "type": "string"
    },
    "slug": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "interface": {
      "type": "string"
    },
    "summary": {
      "type": "string"
    },
    "responsibilities": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "information_available": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "information_withheld": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "primary_interactions": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "decision_authority": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "escalation_paths": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "handoff_requirements": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "failure_risks": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "standards": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "mission_phases": {
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  }
}
