{
"$defs": {
"Branding": {
"additionalProperties": false,
"description": "The `branding:` artifact block. All slots optional; `emblem` names an\nimage file relative to the artifact directory (validated to exist at load\ntime; uploaded to platform storage at seed time).",
"properties": {
"emblem": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Emblem"
},
"footer_links": {
"items": {
"$ref": "#/$defs/BrandingFooterLink"
},
"title": "Footer Links",
"type": "array"
},
"hero": {
"anyOf": [
{
"$ref": "#/$defs/BrandingHero"
},
{
"type": "null"
}
],
"default": null
},
"motif": {
"default": "plain-ink",
"enum": [
"plain-ink",
"living-graph",
"record-wall"
],
"title": "Motif",
"type": "string"
},
"sections": {
"$ref": "#/$defs/BrandingSections"
},
"wordmark": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Wordmark"
}
},
"title": "Branding",
"type": "object"
},
"BrandingFooterLink": {
"additionalProperties": false,
"description": "One official link in the homepage footer: a per-locale label map and\nan https URL (http is refused \u2014 a government footer never sends citizens\nto a plaintext link).",
"properties": {
"label": {
"additionalProperties": {
"type": "string"
},
"minProperties": 1,
"title": "Label",
"type": "object"
},
"url": {
"title": "Url",
"type": "string"
}
},
"required": [
"label",
"url"
],
"title": "BrandingFooterLink",
"type": "object"
},
"BrandingHero": {
"additionalProperties": false,
"description": "Per-locale hero copy. Each map is locale -> text; a missing locale\nfalls back at render time (reader's locale -> default -> built-in).",
"properties": {
"headline": {
"anyOf": [
{
"additionalProperties": {
"type": "string"
},
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Headline"
},
"subcopy": {
"anyOf": [
{
"additionalProperties": {
"type": "string"
},
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Subcopy"
}
},
"title": "BrandingHero",
"type": "object"
},
"BrandingSections": {
"additionalProperties": false,
"description": "Toggles for the three optional homepage strips. All default off, so\nthe minimal page is masthead + hero + catalog + footer.",
"properties": {
"agencies": {
"default": false,
"title": "Agencies",
"type": "boolean"
},
"how_it_works": {
"default": false,
"title": "How It Works",
"type": "boolean"
},
"trust_strip": {
"default": false,
"title": "Trust Strip",
"type": "boolean"
}
},
"title": "BrandingSections",
"type": "object"
},
"CoolifyTarget": {
"description": "Coolify deployment coordinates. The UUIDs are pre-created in the Coolify\nUI (project/environment/github-app \u2014 NOT scripted; see runbook). The git\ncoordinates point at the repo whose compose stack Coolify deploys.",
"properties": {
"compose_service_name": {
"default": "opengov",
"title": "Compose Service Name",
"type": "string"
},
"git_branch": {
"default": "main",
"title": "Git Branch",
"type": "string"
},
"git_repository": {
"title": "Git Repository",
"type": "string"
},
"github_app_uuid": {
"title": "Github App Uuid",
"type": "string"
},
"project_uuid": {
"title": "Project Uuid",
"type": "string"
},
"server_uuid": {
"title": "Server Uuid",
"type": "string"
}
},
"required": [
"project_uuid",
"server_uuid",
"github_app_uuid",
"git_repository"
],
"title": "CoolifyTarget",
"type": "object"
},
"OperationalLogs": {
"additionalProperties": false,
"description": "How long this country keeps the operational logs the platform itself writes.\n\nAn operational log is the running commentary of what the software did \u2014 a\nrequest arrived, a job ran, something failed. It is deliberately not the\naudit record, which is what an officer decided and is governed separately.\n\nThe platform enforces this window on the copy it owns: the files it writes\nand deletes. A copy a country forwards to its own log collector is governed\nby that collector's retention, not by this number.\n\nThe bounds are refused rather than clamped. Below a week the stream is\nuseless for an incident reported after a weekend; beyond about a year it\nstops being a disposable stream and becomes a store of its own, which is the\nthing a window exists to prevent.",
"properties": {
"retention_days": {
"default": 90,
"maximum": 400,
"minimum": 7,
"title": "Retention Days",
"type": "integer"
}
},
"title": "OperationalLogs",
"type": "object"
},
"ReleaseSubscription": {
"additionalProperties": false,
"description": "Which line of releases this deployment follows, and what to do about one.\n\n* **notify** (the default) \u2014 say a newer release exists, and do nothing else.\n* **apply** \u2014 back up, verify, upgrade, health-check, and on red restore and\n hold.\n* **hold** \u2014 stay put and stop reporting newer releases as actionable, until\n an operator lifts it.\n\nThe default waits, and the asymmetry is deliberate: an upgrade runs database\nmigrations and the backup is the only way back, so acting unattended is safe\nwhere a failed upgrade costs a rebuild and not where it costs a country's\nregistry data.",
"properties": {
"channel": {
"default": "stable",
"enum": [
"stable",
"edge"
],
"title": "Channel",
"type": "string"
},
"on_new_release": {
"default": "notify",
"enum": [
"notify",
"apply",
"hold"
],
"title": "On New Release",
"type": "string"
},
"window": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Window"
}
},
"title": "ReleaseSubscription",
"type": "object"
}
},
"additionalProperties": false,
"properties": {
"applicant_realm_enabled": {
"default": true,
"title": "Applicant Realm Enabled",
"type": "boolean"
},
"applicant_registration_enabled": {
"default": false,
"title": "Applicant Registration Enabled",
"type": "boolean"
},
"branding": {
"anyOf": [
{
"$ref": "#/$defs/Branding"
},
{
"type": "null"
}
],
"default": null
},
"code": {
"pattern": "^[a-z]{2,3}-[a-z0-9]+(-[a-z0-9]+)*$",
"title": "Code",
"type": "string"
},
"coolify": {
"$ref": "#/$defs/CoolifyTarget"
},
"country_iso2": {
"pattern": "^[A-Z]{2}$",
"title": "Country Iso2",
"type": "string"
},
"default_locale": {
"title": "Default Locale",
"type": "string"
},
"display_name": {
"title": "Display Name",
"type": "string"
},
"institution_grandfather_until": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Institution Grandfather Until"
},
"live_deployment": {
"default": true,
"title": "Live Deployment",
"type": "boolean"
},
"operational_logs": {
"$ref": "#/$defs/OperationalLogs"
},
"project_slug": {
"title": "Project Slug",
"type": "string"
},
"release": {
"$ref": "#/$defs/ReleaseSubscription"
},
"status": {
"default": "active",
"enum": [
"active",
"suspended",
"archived"
],
"title": "Status",
"type": "string"
},
"supported_locales": {
"items": {
"type": "string"
},
"minItems": 1,
"title": "Supported Locales",
"type": "array"
},
"timezone": {
"title": "Timezone",
"type": "string"
},
"wildcard_base": {
"pattern": "^[a-z0-9.-]+\\.[a-z]{2,}$",
"title": "Wildcard Base",
"type": "string"
},
"worldmodel_seed_profile": {
"default": "starter",
"enum": [
"starter",
"d26"
],
"title": "Worldmodel Seed Profile",
"type": "string"
}
},
"required": [
"code",
"country_iso2",
"project_slug",
"display_name",
"timezone",
"default_locale",
"supported_locales",
"wildcard_base",
"coolify"
],
"title": "DeploymentArtifact",
"type": "object"
}