Skip to content
Legislation
Esc
navigateopen⌘Jpreview

Legislation · public publication pilot

verification-summary: schema and stability

Generated reference for this publication’s exact JSON Schema sidecar. Field constraints below come directly from the sidecar; JSON Schema does not reproduce every Effect refinement.

Fields (12)

VariantFieldRequiredPublished constraints
CommonverifiedByConsumerYes
{
  "type": "array",
  "items": {
    "type": "string"
  }
}
CommonattestedByPublisherYes
{
  "type": "array",
  "items": {
    "type": "string"
  }
}
CommonprivateVerificationBasisLockHashYes
{
  "type": "string",
  "allOf": [
    {
      "pattern": "^[a-f0-9]{64}$"
    }
  ]
}
CommonacceptanceVerificationIdYes
{
  "type": "string"
}
CommonacceptanceCreatedAtYes
{
  "type": "string"
}
CommonacceptedDatasetDigestYes
{
  "type": "string",
  "allOf": [
    {
      "pattern": "^[a-f0-9]{64}$"
    }
  ]
}
CommonacceptanceYes
{
  "type": "string",
  "enum": [
    "pass"
  ]
}
CommonverificationBasisYes
{
  "type": "string"
}
CommoncertificateDigestsRecomputedYes
{
  "type": "boolean",
  "enum": [
    false
  ]
}
CommonreaderLayoutCertifiedYes
{
  "type": "boolean",
  "enum": [
    false
  ]
}
CommonliveStatusAvailableYes
{
  "type": "boolean",
  "enum": [
    false
  ]
}
CommoninstrumentsYes
{
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "slug": {
        "type": "string"
      },
      "titleId": {
        "type": "string"
      },
      "registerId": {
        "type": "string"
      },
      "versionDate": {
        "type": "string"
      },
      "sourceObservation": {
        "type": "object",
        "properties": {
          "checkedAt": {
            "type": "string",
            "allOf": [
              {
                "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})$"
              }
            ]
          },
          "status": {
            "type": "string",
            "enum": [
              "attested"
            ]
          }
        },
        "required": [
          "checkedAt",
          "status"
        ],
        "additionalProperties": false
      },
      "proofVerdict": {
        "type": "string",
        "enum": [
          "pass"
        ]
      },
      "differentPixels": {
        "type": "number",
        "enum": [
          0
        ]
      },
      "certificateDigest": {
        "type": "string",
        "allOf": [
          {
            "pattern": "^sha256:[a-f0-9]{64}$"
          }
        ]
      }
    },
    "required": [
      "slug",
      "titleId",
      "registerId",
      "versionDate",
      "sourceObservation",
      "proofVerdict",
      "differentPixels",
      "certificateDigest"
    ],
    "additionalProperties": false
  }
}
Complete JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "verifiedByConsumer": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "attestedByPublisher": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "privateVerificationBasisLockHash": {
      "type": "string",
      "allOf": [
        {
          "pattern": "^[a-f0-9]{64}$"
        }
      ]
    },
    "acceptanceVerificationId": {
      "type": "string"
    },
    "acceptanceCreatedAt": {
      "type": "string"
    },
    "acceptedDatasetDigest": {
      "type": "string",
      "allOf": [
        {
          "pattern": "^[a-f0-9]{64}$"
        }
      ]
    },
    "acceptance": {
      "type": "string",
      "enum": [
        "pass"
      ]
    },
    "verificationBasis": {
      "type": "string"
    },
    "certificateDigestsRecomputed": {
      "type": "boolean",
      "enum": [
        false
      ]
    },
    "readerLayoutCertified": {
      "type": "boolean",
      "enum": [
        false
      ]
    },
    "liveStatusAvailable": {
      "type": "boolean",
      "enum": [
        false
      ]
    },
    "instruments": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string"
          },
          "titleId": {
            "type": "string"
          },
          "registerId": {
            "type": "string"
          },
          "versionDate": {
            "type": "string"
          },
          "sourceObservation": {
            "type": "object",
            "properties": {
              "checkedAt": {
                "type": "string",
                "allOf": [
                  {
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})$"
                  }
                ]
              },
              "status": {
                "type": "string",
                "enum": [
                  "attested"
                ]
              }
            },
            "required": [
              "checkedAt",
              "status"
            ],
            "additionalProperties": false
          },
          "proofVerdict": {
            "type": "string",
            "enum": [
              "pass"
            ]
          },
          "differentPixels": {
            "type": "number",
            "enum": [
              0
            ]
          },
          "certificateDigest": {
            "type": "string",
            "allOf": [
              {
                "pattern": "^sha256:[a-f0-9]{64}$"
              }
            ]
          }
        },
        "required": [
          "slug",
          "titleId",
          "registerId",
          "versionDate",
          "sourceObservation",
          "proofVerdict",
          "differentPixels",
          "certificateDigest"
        ],
        "additionalProperties": false
      }
    }
  },
  "required": [
    "verifiedByConsumer",
    "attestedByPublisher",
    "privateVerificationBasisLockHash",
    "acceptanceVerificationId",
    "acceptanceCreatedAt",
    "acceptedDatasetDigest",
    "acceptance",
    "verificationBasis",
    "certificateDigestsRecomputed",
    "readerLayoutCertified",
    "liveStatusAvailable",
    "instruments"
  ],
  "additionalProperties": false,
  "$defs": {}
}

a6de85cccf489b7b121dcec0cddf38c459fff4af3f64d1bc4fde69b4753ec0c5