Legislation · public publication pilot
reading-scope: 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 (5)
| Variant | Field | Required | Published constraints |
|---|---|---|---|
| Common | acceptedDatasetDigest | Yes | {
"type": "string",
"allOf": [
{
"pattern": "^[a-f0-9]{64}$"
}
]
} |
| Common | slug | Yes | {
"type": "string"
} |
| Common | kind | Yes | {
"type": "string",
"enum": [
"whole",
"file",
"container"
]
} |
| Common | path | Yes | {
"type": "string"
} |
| Common | membership | Yes | {
"type": "array",
"items": {
"type": "object",
"properties": {
"canonicalPath": {
"type": "string"
},
"sha256": {
"type": "string",
"allOf": [
{
"pattern": "^[a-f0-9]{64}$"
}
]
}
},
"required": [
"canonicalPath",
"sha256"
],
"additionalProperties": false
}
} |
Complete JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"acceptedDatasetDigest": {
"type": "string",
"allOf": [
{
"pattern": "^[a-f0-9]{64}$"
}
]
},
"slug": {
"type": "string"
},
"kind": {
"type": "string",
"enum": [
"whole",
"file",
"container"
]
},
"path": {
"type": "string"
},
"membership": {
"type": "array",
"items": {
"type": "object",
"properties": {
"canonicalPath": {
"type": "string"
},
"sha256": {
"type": "string",
"allOf": [
{
"pattern": "^[a-f0-9]{64}$"
}
]
}
},
"required": [
"canonicalPath",
"sha256"
],
"additionalProperties": false
}
}
},
"required": [
"acceptedDatasetDigest",
"slug",
"kind",
"path",
"membership"
],
"additionalProperties": false,
"$defs": {}
}a6de85cccf489b7b121dcec0cddf38c459fff4af3f64d1bc4fde69b4753ec0c5