Raw schema
{
"type": "object",
"properties": {
"preset": {
"type": "string",
"enum": [
"drop",
"pass",
"scratchpad",
"checkpoint",
"ledger"
]
},
"tier": {
"type": "string",
"description": "Bundle tier — valid tiers depend on preset (drop: femto/pico/nano/micro/standard/big · pass: femto/pico/nano · scratchpad: pico/nano/micro/standard/big · checkpoint: nano/micro/standard/big · ledger: femto/pico/nano/micro/standard/big). Plus 'custom' (with customShape) for any preset."
},
"customShape": {
"type": "object",
"properties": {
"sizeBytes": {
"type": "string"
},
"durationSeconds": {
"type": "string"
},
"maxEgressBytes": {
"type": "string"
},
"writesAllowed": {
"type": "integer",
"minimum": 0
},
"readsAllowed": {
"type": "integer",
"minimum": 0
}
}
},
"name": {
"type": "string",
"maxLength": 200
},
"description": {
"type": "string",
"maxLength": 1000
},
"tags": {
"type": "array",
"items": {
"type": "string"
}
},
"content": {
"type": "string"
},
"contentType": {
"type": "string"
},
"contentEncoding": {
"type": "string",
"enum": [
"utf-8",
"base64",
"binary"
]
},
"flags": {
"type": "object",
"properties": {
"hashChaining": {
"type": "boolean"
},
"witness": {
"type": "boolean"
}
}
}
},
"required": [
"preset"
],
"oneOf": [
{
"properties": {
"preset": {
"const": "drop"
},
"tier": {
"type": "string",
"enum": [
"femto",
"pico",
"nano",
"micro",
"standard",
"big",
"custom"
]
}
}
},
{
"properties": {
"preset": {
"const": "pass"
},
"tier": {
"type": "string",
"enum": [
"femto",
"pico",
"nano",
"custom"
]
}
}
},
{
"properties": {
"preset": {
"const": "scratchpad"
},
"tier": {
"type": "string",
"enum": [
"pico",
"nano",
"micro",
"standard",
"big",
"custom"
]
}
}
},
{
"properties": {
"preset": {
"const": "checkpoint"
},
"tier": {
"type": "string",
"enum": [
"nano",
"micro",
"standard",
"big",
"custom"
]
}
}
},
{
"properties": {
"preset": {
"const": "ledger"
},
"tier": {
"type": "string",
"enum": [
"femto",
"pico",
"nano",
"micro",
"standard",
"big",
"custom"
]
}
}
}
]
}