Files
mesh-contracts/seats/mesh-store/seat.json
T

47 lines
990 B
JSON

{
"format": 1,
"seat": "mesh-store",
"scope": "mesh",
"grain": "seat-list",
"domain": "Module",
"decision": "novox/hq ADR 0079",
"delivers": "postgres-database",
"verbs": [
{
"name": "databases",
"description": "Every database the store holds, with its on-disk size.",
"replaces": [
"psql -l"
],
"input": {
"properties": {},
"type": "object"
}
},
{
"name": "query",
"description": "One read-only statement against one database the store holds.",
"replaces": [
"psql"
],
"input": {
"properties": {
"database": {
"description": "the database to query",
"type": "string"
},
"sql": {
"description": "the read-only statement",
"type": "string"
}
},
"required": [
"database",
"sql"
],
"type": "object"
}
}
]
}