Skip to content

A Civilization-style strategy game about governing Israel from 15 May 1948. Real ministers, real map, every fact sourced. Unity + deterministic C# sim.

4.3 KB
Raw Blame
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "content/offices.yaml",
  "description": "The offices of the state. Field names follow the Office type in sim/Statecraft.Sim/Content.cs; a test keeps them equal.",
  "type": "object",
  "additionalProperties": false,
  "required": ["offices"],
  "properties": {
    "offices": {
      "type": "array",
      "items": { "$ref": "#/definitions/office" }
    }
  },
  "definitions": {
    "date": { "type": "string", "pattern": "^\\d{4}-\\d{2}-\\d{2}$", "description": "A day, YYYY-MM-DD." },
    "source": {
      "type": "object",
      "additionalProperties": false,
      "required": ["url", "checked"],
      "properties": {
        "url": { "type": "string", "pattern": "^https://", "description": "An https:// address." },
        "checked": { "$ref": "#/definitions/date", "description": "The day you opened the source." }
      }
    },
    "sources": { "type": "array", "minItems": 1, "items": { "$ref": "#/definitions/source" } },
    "office": {
      "type": "object",
      "additionalProperties": false,
      "required": ["id", "title"],
      "properties": {
        "id": { "type": "string", "pattern": "^[a-z][a-z0-9_]*$", "description": "Lowercase letters, digits and underscores, starting with a letter. Unique." },
        "title": { "type": "string", "minLength": 1, "description": "The official English title, as the player sees it." },
        "title_he": { "type": "string", "minLength": 1, "description": "The Hebrew title (#558) as a source gives it. Leave out when no source gives one (the UI keeps the English). Needs title_he_sources." },
        "title_he_sources": { "$ref": "#/definitions/sources", "description": "Sources for title_he." },
        "title_he_review": { "type": "string", "enum": ["agent-checked"], "description": "Review flag of title_he. agent-checked: an AI agent checked the name against its sources and no person has read it yet (CONTENT_POLICY section 2, rule 6). Leave out once a native speaker, or an AI-assisted contributor who discloses it, has reviewed it (#564; owner, 4 November 2026: \"AI-assisted can clear it\")." },
        "title_he_f": { "type": "string", "minLength": 1, "description": "The feminine Hebrew title, shown for a woman in the office (the Knesset records write שרת העבודה). Every office with a title_he has one: the player can order a woman into any office. Needs title_he and title_he_f_sources." },
        "title_he_f_sources": { "$ref": "#/definitions/sources", "description": "Sources for title_he_f." },
        "title_he_f_review": { "type": "string", "enum": ["agent-checked"], "description": "Review flag of title_he_f. agent-checked: an AI agent checked the name against its sources and no person has read it yet (CONTENT_POLICY section 2, rule 6). Leave out once a native speaker, or an AI-assisted contributor who discloses it, has reviewed it (#564; owner, 4 November 2026: \"AI-assisted can clear it\")." },
        "title_he_from": { "$ref": "#/definitions/date", "description": "First day title_he and title_he_f hold (inclusive). Leave out when they hold from the start. Needs title_he (#1219)." },
        "title_he_until": { "$ref": "#/definitions/date", "description": "Day title_he and title_he_f stop holding (exclusive), after title_he_from: from then the UI shows the English title. Leave out while they hold. Needs title_he (#1219)." },
        "historical_only": { "type": "boolean", "description": "Historical record only: no Cabinet seat, no player appointment, no gameplay." },
        "several_holders": { "type": "boolean", "description": "Several people may hold it on the same day (Minister without Portfolio, a second deputy minister). Such an office cannot appear in event text or own policies or effects, and the player cannot appoint to it." },
        "from": { "$ref": "#/definitions/date", "description": "Day the office was established (inclusive). Leave out if it exists from the start." },
        "until": { "$ref": "#/definitions/date", "description": "Day the office was abolished (exclusive). Leave out while it still exists." },
        "successor": { "type": "string", "description": "Id of the office that takes over (budget lines and policies) when this one is abolished: in office on the until day, one holder, not historical-only. Needs until. Leave out if none." }
      }
    }
  }
}