web/docs/schemas/launch-offers-catalog.v1.schema.json

64 lines
2.1 KiB
JSON

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://edut.ai/schemas/launch-offers-catalog.v1.schema.json",
"title": "EDUT Launch Offers Catalog v1",
"type": "object",
"additionalProperties": false,
"required": ["schema_version", "catalog_id", "offers", "published_at"],
"properties": {
"schema_version": { "type": "string", "const": "launch_offers_catalog.v1" },
"catalog_id": { "type": "string" },
"offers": {
"type": "array",
"minItems": 1,
"items": {
"type": "object",
"additionalProperties": false,
"required": [
"offer_id",
"title",
"price",
"currency",
"member_only",
"workspace_bound",
"transferable",
"internal_use_only",
"multi_tenant"
],
"properties": {
"offer_id": { "type": "string" },
"title": { "type": "string" },
"summary": { "type": "string" },
"price": { "type": "string" },
"currency": { "type": "string", "enum": ["USDC", "ETH"] },
"member_only": { "type": "boolean" },
"workspace_bound": { "type": "boolean" },
"transferable": { "type": "boolean" },
"internal_use_only": { "type": "boolean" },
"multi_tenant": { "type": "boolean" },
"execution_profile": {
"type": "object",
"additionalProperties": false,
"required": ["connector_surface", "pacing_tier"],
"properties": {
"connector_surface": {
"type": "string",
"enum": ["edut_native", "external_connector", "hybrid"]
},
"pacing_tier": {
"type": "string",
"enum": ["governed_human_pace", "local_hardware_speed"]
},
"human_pace_floor_ms": {
"type": "integer",
"minimum": 0
}
}
}
}
}
},
"published_at": { "type": "string", "format": "date-time" }
}
}