Returns Schema as per MessageID
Last updated
Last updated
Returns schema
Message identifier
"1706823227.586179534"
Schema details
Message identifier
"1706823227.586179534"
UUID
"93938a10-d032-4a9b-9425-092e58bffbf7"
const response = await fetch('/api/v1/entities/schemas/{messageId}', {
method: 'GET',
headers: {},
});
const data = await response.json();
{
"id": "1706823227.586179534",
"uuid": "93938a10-d032-4a9b-9425-092e58bffbf7",
"item": {
"id": "667c240639282050117a1985",
"topicId": "0.0.4481265",
"consensusTimestamp": "1706823227.586179534",
"owner": "0.0.1",
"uuid": "93938a10-d032-4a9b-9425-092e58bffbf7",
"status": "NEW",
"statusReason": "Revoked",
"lang": "en-US",
"responseType": "str",
"statusMessage": "text",
"files": [
"QmYtKEVfpbDwn7XLHjnjap224ESi3vLiYpkbWoabnxs6cX"
],
"topics": [
"0.0.4481265"
],
"tokens": [
"0.0.4481265"
],
"type": "Schema",
"action": "publish-schema",
"options": {
"name": "Monitoring report",
"description": "Monitoring report schema",
"entity": "VC",
"owner": "did:hedera:testnet:8Go53QCUXZ4nzSQMyoWovWCxseogGTMLDiHg14Fkz4VN_0.0.4481265",
"uuid": "93938a10-d032-4a9b-9425-092e58bffbf7",
"version": "1.0.0",
"codeVersion": "1.0.0",
"relationships": [
"1706823227.586179534"
]
},
"analytics": {
"policyIds": [
"1706823227.586179534"
],
"childSchemas": {
"id": "1706823227.586179534",
"name": "Project Details"
},
"properties": [
"ActivityImpactModule.projectScope"
],
"textSearch": "text"
},
"documents": [
"{\"$id\":\"#d0e99e70-3511-486668e-bf6f-10041e9a0cb7669080&1.0.0\",\"$comment\":\"{ \\\"@id\\\": \\\"#d0e99e70-3511-486668e-bf6f-10041e9a0cb7669080&1.0.0\\\", \\\"term\\\": \\\"d0e99e70-3511-486668e-bf6f-10041e9a0cb7669080&1.0.0\\\" }\",\"title\":\"tagSchemaAPI339404\",\"description\":\"tagSchemaAPI339404\",\"type\":\"object\",\"properties\":{\"@context\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"array\",\"items\":{\"type\":\"string\"}}],\"readOnly\":true},\"type\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"array\",\"items\":{\"type\":\"string\"}}],\"readOnly\":true},\"id\":{\"type\":\"string\",\"readOnly\":true}},\"required\":[\"@context\",\"type\"],\"additionalProperties\":false,\"$defs\":{}}",
"{\"@context\":{\"@version\":1.1,\"@vocab\":\"https://w3id.org/traceability/#undefinedTerm\",\"id\":\"@id\",\"type\":\"@type\",\"d0e99e70-3511-486668e-bf6f-10041e9a0cb7669080&1.0.0\":{\"@id\":\"#d0e99e70-3511-486668e-bf6f-10041e9a0cb7669080&1.0.0\",\"@context\":{}}}}"
]
},
"row": {
"id": "667c240639282050117a1985",
"consensusTimestamp": "1706823227.586179534",
"topicId": "0.0.4481265",
"status": "LOADED",
"lastUpdate": 1716755852055,
"message": "eyJpZCI6ImVhYTYyOWZmLWM4NmItNDEyZS1iYzYwLWM4NDk2OTJkMDBiYiIsInN0YXR1cyI6IklTU1VFIiwidHlwZSI6IlN0YW5kYXJkIFJlZ2lzdHJ5IiwiYWN0aW9uIjoiSW5pdCIsImxhbmciOiJlbi1VUyIsImRpZCI6ImRpZDpoZWRlcmE6dGVzdG5ldDpBYkd6Q3hpRzRlZ0xibldCUERpaHdMUVIza0tLcnNGNmJnSDdUdmVGYjI3bl8wLjAuMjE3NiIsInRvcGljSWQiOiIwLjAuMjE3NiIsImF0dHJpYnV0ZXMiOnsiZ2VvZ3JhcGh5IjoidGVzdCIsImxhdyI6InRlc3R0ZXMiLCJ0YWdzIjoidGVzdCJ9fQ",
"sequenceNumber": 2,
"owner": "0.0.1914",
"chunkId": "1706817694.014944860",
"chunkNumber": 1,
"chunkTotal": 1,
"type": "Message",
"data": "`{\"id\":\"eaa629ff-c86b-412e-bc60-c849692d00bb\",\"status\":\"ISSUE\",\"type\":\"Standard Registry\",\"action\":\"Init\",\"lang\":\"en-US\",\"did\":\"did:hedera:testnet:AbGzCxiG4egLbnWBPDihwLQR3kKKrsF6bgH7TveFb27n_0.0.2176\",\"topicId\":\"0.0.2176\",\"attributes\":{\"geography\":\"test\",\"law\":\"testtes\",\"tags\":\"test\"}}`"
},
"activity": {
"vcs": 10,
"vps": 10
}
}