@mapeo/schema
Version:
JSON schema and flow types for Mapeo
26 lines (25 loc) • 708 B
JSON
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "http://mapeo.world/schemas/coreOwnership/v1.json",
"title": "CoreOwnership",
"type": "object",
"allOf":[{"$ref": "../common/v1.json"}],
"properties": {
"schemaType": { "type": "string", "pattern": "^coreOwnership$" },
"action": {
"type": "string",
"enum": ["core:owner"]
},
"schemaVersion": {
"type": "number",
"minimum": 1,
"enum": [1]
},
"coreId": { "type": "string" },
"projectId": { "type": "string" },
"storeType": { "type": "string" },
"signature": { "type": "string" },
"authorIndex": { "type": "integer" },
"deviceIndex": { "type": "integer" }
}
}