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

45 lines
1.4 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" }
}
}
},
"published_at": { "type": "string", "format": "date-time" }
}
}