Skip to content

madoo.bundle-manifest/v1

Madoo bundle manifest — Portable manifest for an authorized logical collection of uploaded assets.

Reference madoo.bundle-manifest/v1
Schema id urn:madoo:schema:bundle-manifest:v1
Version 1.0.0
Served at GET /api/v1/json-schemas/madoo.bundle-manifest/v1 · MCP get_json_schema
  • Produced by: input/bundle_manifest → bundle
Field Type Required Rules Description
schema "madoo.bundle-manifest/v1" yes
bundleId string yes min length 1; max length 128
assets array of objects yes max items 10000
assets[].id string yes min length 1; max length 128
assets[].relativePath string yes min length 1; max length 1024
assets[].storageRef string yes min length 1
assets[].mediaType string yes min length 1; max length 255
assets[].sizeBytes integer yes ≥ 0
assets[].sha256 string or null pattern “^[a-f0-9]{64}$”
assets[].metadata object yes
madoo.bundle-manifest/v1 (JSON Schema)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "urn:madoo:schema:bundle-manifest:v1",
"title": "Madoo Bundle Manifest v1",
"type": "object",
"required": [
"schema",
"bundleId",
"assets"
],
"properties": {
"schema": {
"const": "madoo.bundle-manifest/v1"
},
"bundleId": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"assets": {
"type": "array",
"maxItems": 10000,
"items": {
"type": "object",
"required": [
"id",
"relativePath",
"storageRef",
"mediaType",
"sizeBytes",
"metadata"
],
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"relativePath": {
"type": "string",
"minLength": 1,
"maxLength": 1024
},
"storageRef": {
"type": "string",
"minLength": 1
},
"mediaType": {
"type": "string",
"minLength": 1,
"maxLength": 255
},
"sizeBytes": {
"type": "integer",
"minimum": 0
},
"sha256": {
"type": [
"string",
"null"
],
"pattern": "^[a-f0-9]{64}$"
},
"metadata": {
"type": "object"
}
},
"additionalProperties": false
}
}
},
"additionalProperties": false
}