asset-record.schema.json
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://titip.id/schemas/asset-record.schema.json",
"title": "AssetRecord",
"type": "object",
"additionalProperties": false,
"required": [
"id",
"vault_id",
"category",
"subject"
],
"properties": {
"id": {
"type": "string",
"pattern": "^ast_[a-zA-Z0-9]+$"
},
"vault_id": {
"type": "string",
"pattern": "^vlt_[a-zA-Z0-9]+$"
},
"category": {
"enum": [
"property",
"banking",
"insurance",
"investments",
"business",
"digital_assets",
"subscriptions",
"dependants",
"pets",
"personal_messages",
"emergency_contacts",
"documents"
]
},
"subject": {
"type": "string",
"minLength": 1,
"maxLength": 160
},
"institution": {
"type": "string",
"maxLength": 160
}
}
}