{
"owner": "<AccountAddress>",
"owner_key": "<String of size 64 containing lowercase hex characters.>",
"owner_metadata": {
"hash": {
"Enum": [
{
"None": []
},
{
"Some": [
[
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>"
]
]
}
]
},
"url": "<String>"
},
"record_schema": {
"schema_ref": {
"hash": {
"Enum": [
{
"None": []
},
{
"Some": [
[
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>"
]
]
}
]
},
"url": "<String>"
}
}
}
{
"Enum": [
{
"ParseParams": []
},
{
"RecordNotFound": []
},
{
"RecordAlreadyExists": []
},
{
"NotAuthorized": []
},
{
"InvalidOwner": []
},
{
"InvalidInputParameter": []
},
{
"ServicePaused": []
},
{
"LogFull": []
},
{
"LogMalformed": []
},
{
"MissingModule": []
},
{
"MissingContract": []
},
{
"UnsupportedModuleVersion": []
}
]
}
{
"Enum": [
{
"NewOwnerAdded": {
"owner": "<AccountAddress>",
"owner_key": "<String of size 64 containing lowercase hex characters.>",
"schema_ref": {
"schema_ref": {
"hash": {
"Enum": [
{
"None": []
},
{
"Some": [
[
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>"
]
]
}
]
},
"url": "<String>"
}
}
}
},
{
"UpdateOwnerInfo": {
"owner": "<AccountAddress>",
"owner_key": "<String of size 64 containing lowercase hex characters.>",
"owner_metadata": {
"hash": {
"Enum": [
{
"None": []
},
{
"Some": [
[
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>"
]
]
}
]
},
"url": "<String>"
}
}
},
{
"PatientDataCreated": {
"holder_key": "<String of size 64 containing lowercase hex characters.>",
"id": "<String>"
}
},
{
"PatientDataShared": {
"holder_key": "<String of size 64 containing lowercase hex characters.>",
"id": "<String>"
}
},
{
"PauseStateChange": {
"owner_key": "<String of size 64 containing lowercase hex characters.>",
"pause": "<Bool>"
}
},
{
"PatientDataUpdate": {
"holder_key": "<String of size 64 containing lowercase hex characters.>",
"id": "<String>"
}
}
]
}
{
"holder_key": "<String of size 64 containing lowercase hex characters.>",
"id": "<String>",
"metadata_url": {
"hash": {
"Enum": [
{
"None": []
},
{
"Some": [
[
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>"
]
]
}
]
},
"url": "<String>"
},
"nonce": "<UInt64>",
"resource_type": "<String>",
"signature": "<String of size 128 containing lowercase hex characters.>",
"status": {
"Enum": [
{
"Active": []
},
{
"InActive": []
},
{
"Suspended": []
},
{
"EnteredInError": []
},
{
"Unknown": []
}
]
}
}
{
"Enum": [
{
"ParseParams": []
},
{
"RecordNotFound": []
},
{
"RecordAlreadyExists": []
},
{
"NotAuthorized": []
},
{
"InvalidOwner": []
},
{
"InvalidInputParameter": []
},
{
"ServicePaused": []
},
{
"LogFull": []
},
{
"LogMalformed": []
},
{
"MissingModule": []
},
{
"MissingContract": []
},
{
"UnsupportedModuleVersion": []
}
]
}
None
{
"pause": "<Bool>"
}
{
"Enum": [
{
"ParseParams": []
},
{
"RecordNotFound": []
},
{
"RecordAlreadyExists": []
},
{
"NotAuthorized": []
},
{
"InvalidOwner": []
},
{
"InvalidInputParameter": []
},
{
"ServicePaused": []
},
{
"LogFull": []
},
{
"LogMalformed": []
},
{
"MissingModule": []
},
{
"MissingContract": []
},
{
"UnsupportedModuleVersion": []
}
]
}
None
{
"id": "<String>",
"metadata_url": {
"hash": {
"Enum": [
{
"None": []
},
{
"Some": [
[
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>"
]
]
}
]
},
"url": "<String>"
}
}
{
"Enum": [
{
"ParseParams": []
},
{
"RecordNotFound": []
},
{
"RecordAlreadyExists": []
},
{
"NotAuthorized": []
},
{
"InvalidOwner": []
},
{
"InvalidInputParameter": []
},
{
"ServicePaused": []
},
{
"LogFull": []
},
{
"LogMalformed": []
},
{
"MissingModule": []
},
{
"MissingContract": []
},
{
"UnsupportedModuleVersion": []
}
]
}
None
{
"hash": {
"Enum": [
{
"None": []
},
{
"Some": [
[
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>"
]
]
}
]
},
"url": "<String>"
}
{
"Enum": [
{
"ParseParams": []
},
{
"RecordNotFound": []
},
{
"RecordAlreadyExists": []
},
{
"NotAuthorized": []
},
{
"InvalidOwner": []
},
{
"InvalidInputParameter": []
},
{
"ServicePaused": []
},
{
"LogFull": []
},
{
"LogMalformed": []
},
{
"MissingModule": []
},
{
"MissingContract": []
},
{
"UnsupportedModuleVersion": []
}
]
}
None
{
"hash": {
"Enum": [
{
"None": []
},
{
"Some": [
[
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>"
]
]
}
]
},
"url": "<String>"
}
{
"Enum": [
{
"ParseParams": []
},
{
"RecordNotFound": []
},
{
"RecordAlreadyExists": []
},
{
"NotAuthorized": []
},
{
"InvalidOwner": []
},
{
"InvalidInputParameter": []
},
{
"ServicePaused": []
},
{
"LogFull": []
},
{
"LogMalformed": []
},
{
"MissingModule": []
},
{
"MissingContract": []
},
{
"UnsupportedModuleVersion": []
}
]
}
None
"<String of size 64 containing lowercase hex characters.>"
{
"Enum": [
{
"ParseParams": []
},
{
"RecordNotFound": []
},
{
"RecordAlreadyExists": []
},
{
"NotAuthorized": []
},
{
"InvalidOwner": []
},
{
"InvalidInputParameter": []
},
{
"ServicePaused": []
},
{
"LogFull": []
},
{
"LogMalformed": []
},
{
"MissingModule": []
},
{
"MissingContract": []
},
{
"UnsupportedModuleVersion": []
}
]
}
None
{
"holder_key": "<String of size 64 containing lowercase hex characters.>",
"id": "<String>"
}
{
"Enum": [
{
"ParseParams": []
},
{
"RecordNotFound": []
},
{
"RecordAlreadyExists": []
},
{
"NotAuthorized": []
},
{
"InvalidOwner": []
},
{
"InvalidInputParameter": []
},
{
"ServicePaused": []
},
{
"LogFull": []
},
{
"LogMalformed": []
},
{
"MissingModule": []
},
{
"MissingContract": []
},
{
"UnsupportedModuleVersion": []
}
]
}
None
{
"id": "<String>"
}
{
"Enum": [
{
"ParseParams": []
},
{
"RecordNotFound": []
},
{
"RecordAlreadyExists": []
},
{
"NotAuthorized": []
},
{
"InvalidOwner": []
},
{
"InvalidInputParameter": []
},
{
"ServicePaused": []
},
{
"LogFull": []
},
{
"LogMalformed": []
},
{
"MissingModule": []
},
{
"MissingContract": []
},
{
"UnsupportedModuleVersion": []
}
]
}
{
"holder_key": "<String of size 64 containing lowercase hex characters.>",
"id": "<String>",
"metadata_url": {
"hash": {
"Enum": [
{
"None": []
},
{
"Some": [
[
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>"
]
]
}
]
},
"url": "<String>"
},
"nonce": "<UInt64>",
"resource_type": "<String>",
"signature": "<String of size 128 containing lowercase hex characters.>",
"status": {
"Enum": [
{
"Active": []
},
{
"InActive": []
},
{
"Suspended": []
},
{
"EnteredInError": []
},
{
"Unknown": []
}
]
}
}
{
"id": "<String>"
}
{
"Enum": [
{
"ParseParams": []
},
{
"RecordNotFound": []
},
{
"RecordAlreadyExists": []
},
{
"NotAuthorized": []
},
{
"InvalidOwner": []
},
{
"InvalidInputParameter": []
},
{
"ServicePaused": []
},
{
"LogFull": []
},
{
"LogMalformed": []
},
{
"MissingModule": []
},
{
"MissingContract": []
},
{
"UnsupportedModuleVersion": []
}
]
}
{
"Enum": [
{
"Active": []
},
{
"InActive": []
},
{
"Suspended": []
},
{
"EnteredInError": []
},
{
"Unknown": []
}
]
}
{
"id": "<String>"
}
{
"Enum": [
{
"ParseParams": []
},
{
"RecordNotFound": []
},
{
"RecordAlreadyExists": []
},
{
"NotAuthorized": []
},
{
"InvalidOwner": []
},
{
"InvalidInputParameter": []
},
{
"ServicePaused": []
},
{
"LogFull": []
},
{
"LogMalformed": []
},
{
"MissingModule": []
},
{
"MissingContract": []
},
{
"UnsupportedModuleVersion": []
}
]
}
{
"hash": {
"Enum": [
{
"None": []
},
{
"Some": [
[
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>"
]
]
}
]
},
"url": "<String>"
}
None
{
"Enum": [
{
"ParseParams": []
},
{
"RecordNotFound": []
},
{
"RecordAlreadyExists": []
},
{
"NotAuthorized": []
},
{
"InvalidOwner": []
},
{
"InvalidInputParameter": []
},
{
"ServicePaused": []
},
{
"LogFull": []
},
{
"LogMalformed": []
},
{
"MissingModule": []
},
{
"MissingContract": []
},
{
"UnsupportedModuleVersion": []
}
]
}
{
"owner": "<AccountAddress>",
"owner_key": "<String of size 64 containing lowercase hex characters.>",
"owner_metadata": {
"hash": {
"Enum": [
{
"None": []
},
{
"Some": [
[
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>"
]
]
}
]
},
"url": "<String>"
}
}
None
{
"Enum": [
{
"ParseParams": []
},
{
"RecordNotFound": []
},
{
"RecordAlreadyExists": []
},
{
"NotAuthorized": []
},
{
"InvalidOwner": []
},
{
"InvalidInputParameter": []
},
{
"ServicePaused": []
},
{
"LogFull": []
},
{
"LogMalformed": []
},
{
"MissingModule": []
},
{
"MissingContract": []
},
{
"UnsupportedModuleVersion": []
}
]
}
{
"schema_ref": {
"hash": {
"Enum": [
{
"None": []
},
{
"Some": [
[
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>"
]
]
}
]
},
"url": "<String>"
}
}
None
{
"Enum": [
{
"ParseParams": []
},
{
"RecordNotFound": []
},
{
"RecordAlreadyExists": []
},
{
"NotAuthorized": []
},
{
"InvalidOwner": []
},
{
"InvalidInputParameter": []
},
{
"ServicePaused": []
},
{
"LogFull": []
},
{
"LogMalformed": []
},
{
"MissingModule": []
},
{
"MissingContract": []
},
{
"UnsupportedModuleVersion": []
}
]
}
"<Bool>"
None
{
"Enum": [
{
"ParseParams": []
},
{
"RecordNotFound": []
},
{
"RecordAlreadyExists": []
},
{
"NotAuthorized": []
},
{
"InvalidOwner": []
},
{
"InvalidInputParameter": []
},
{
"ServicePaused": []
},
{
"LogFull": []
},
{
"LogMalformed": []
},
{
"MissingModule": []
},
{
"MissingContract": []
},
{
"UnsupportedModuleVersion": []
}
]
}
"<UInt64>"
{
"migrate": {
"Enum": [
{
"None": []
},
{
"Some": [
[
"<String>",
"<String with lowercase hex>"
]
]
}
]
},
"module": "<String of size 64 containing lowercase hex characters.>"
}
{
"Enum": [
{
"ParseParams": []
},
{
"RecordNotFound": []
},
{
"RecordAlreadyExists": []
},
{
"NotAuthorized": []
},
{
"InvalidOwner": []
},
{
"InvalidInputParameter": []
},
{
"ServicePaused": []
},
{
"LogFull": []
},
{
"LogMalformed": []
},
{
"MissingModule": []
},
{
"MissingContract": []
},
{
"UnsupportedModuleVersion": []
}
]
}
None