Raw schema
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string",
"enum": [
"bridge",
"intent",
"aggregator",
"dex",
"amm"
]
},
"contracts": {
"type": "object",
"description": "chain id to list of 0x addresses",
"additionalProperties": {
"type": "array",
"items": {
"type": "string"
}
}
},
"source_topic": {
"type": "string"
},
"fill_topic": {
"type": [
"string",
"null"
]
},
"events": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"signature": {
"type": "string"
},
"topic0": {
"type": "string"
},
"role": {
"type": "string",
"enum": [
"deposit",
"fill",
"other"
]
},
"indexed": {
"type": "integer"
},
"anonymous": {
"type": "boolean"
}
},
"required": [
"signature",
"topic0",
"role"
]
}
},
"identity": {
"type": "string",
"enum": [
"mechanism",
"deployment"
]
},
"supported_dst": {
"type": "array",
"items": {
"type": "integer"
}
},
"fill_selector": {
"type": [
"string",
"null"
]
},
"sla_ms": {
"type": "integer"
},
"fee_bps": {
"type": "integer"
},
"docs": {
"type": "string"
},
"version": {
"type": "integer",
"minimum": 1
},
"key": {
"type": "string"
},
"states": {
"type": "array",
"items": {
"type": "string"
}
},
"transitions": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"from": {
"type": [
"string",
"null"
]
},
"to": {
"type": "string"
},
"trigger": {
"type": "object",
"properties": {
"event": {
"type": "string"
},
"side": {
"type": "string",
"enum": [
"source",
"fill",
"refund",
"other"
]
},
"contracts": {
"type": "string",
"enum": [
"registered",
"any"
]
}
},
"required": [
"event",
"side"
]
},
"bind": {
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"guards": {
"type": "array",
"items": {
"type": "string"
}
},
"join": {
"type": "string"
},
"proof": {
"type": "string",
"enum": [
"receipt",
"none"
]
}
},
"required": [
"name",
"from",
"to",
"trigger",
"bind",
"proof"
]
}
},
"actions": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"when": {
"type": "string"
},
"chain": {
"type": "string"
},
"call": {
"type": "object",
"properties": {
"to": {
"type": "string"
},
"fn": {
"type": "string"
},
"args_from": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"to",
"fn",
"args_from"
]
}
},
"required": [
"name",
"when",
"chain",
"call"
]
}
},
"abi": {
"type": "array",
"items": {
"type": "object"
}
},
"finality": {
"type": "string"
},
"author": {
"type": "string"
},
"signature": {
"type": [
"string",
"null"
]
},
"dry_run": {
"type": "boolean"
},
"grade": {
"type": "boolean",
"description": "also grade the manifest: code verified the facts, Jev answers the rubric over them; spends one of your grades"
}
},
"required": [
"id",
"name",
"type",
"contracts",
"source_topic",
"events"
],
"additionalProperties": false
}