{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://eviulon.com/schemas/patefacere-sync-v17.schema.json",
  "title": "Patefacere to Eviulon Public Governance Status v1.7",
  "type": "object",
  "required": [
    "schemaVersion",
    "producer",
    "sourceOrigin",
    "sequence",
    "previousDigest",
    "issuedAt",
    "expiresAt",
    "connectorState",
    "verificationState",
    "productionExchangeVerified",
    "directChannelAuthorized",
    "deployedObservationAuthorized"
  ],
  "properties": {
    "schemaVersion": {
      "const": "patefacere-public-governance-status-1.7"
    },
    "producer": {
      "type": "string"
    },
    "sourceOrigin": {
      "type": "string",
      "format": "uri"
    },
    "sequence": {
      "type": "integer",
      "minimum": 0
    },
    "previousDigest": {
      "type": [
        "string",
        "null"
      ]
    },
    "issuedAt": {
      "type": "string",
      "format": "date-time"
    },
    "expiresAt": {
      "type": "string",
      "format": "date-time"
    },
    "connectorState": {
      "type": "string"
    },
    "verificationState": {
      "enum": [
        "VERIFIED",
        "UNVERIFIED",
        "STALE",
        "CONFLICT",
        "UNAVAILABLE"
      ]
    },
    "productionExchangeVerified": {
      "type": "boolean"
    },
    "directChannelAuthorized": {
      "type": "boolean"
    },
    "deployedObservationAuthorized": {
      "type": "boolean"
    }
  },
  "additionalProperties": false,
  "truthBoundary": "Local conformance schema only. Passing validation does not activate a connector, authorize a direct channel, prove deployment, or transfer citizen, passport, credential, registry, receipt, or private operational data."
}
