Skip to content

Commit

Permalink
Merge pull request #1303 from OriginTrail/prerelease/testnet
Browse files Browse the repository at this point in the history
OriginTrail Testnet Release v4.1.7
  • Loading branch information
djordjekovac authored Jul 8, 2020
2 parents 33baf36 + b4dc5d3 commit 29dde31
Show file tree
Hide file tree
Showing 29 changed files with 1,009 additions and 75 deletions.
157 changes: 157 additions & 0 deletions importers/use_cases/otjson_1.1/sort1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,157 @@
{
"@id": "",
"@type": "Dataset",
"datasetHeader": {
"OTJSONVersion": "1.1",
"datasetCreationTimestamp": "2020-06-29T11:01:09.035Z",
"datasetTitle": "",
"datasetDescription": "",
"datasetTags": [],
"relatedDatasets": [],
"validationSchemas": {
"erc725-main": {
"schemaType": "ethereum-725",
"networkId": "ganache"
},
"merkleRoot": {
"schemaType": "merkle-root",
"networkId": "ganache",
"hubContractAddress": "0x0987197628Bb06133B6FA2409eb4cF9FCaFe8d3a"
}
},
"dataIntegrity": {
"proofs": [
{
"proofValue": "",
"proofType": "merkleRootHash",
"validationSchema": "/schemas/merkleRoot"
}
]
},
"dataCreator": {
"identifiers": [
{
"identifierValue": "0x2Fa6d32E314AAB43a58999D6f5532A15418Da153",
"identifierType": "ERC725",
"validationSchema": "/schemas/erc725-main"
}
]
}
},
"@graph": [
{
"identifiers": [
{
"@type": "kind",
"@value": "test_object"
},
{
"@type": "id",
"@value": "test_object_02"
}
],
"properties": {
"purpose": "Testing object number 2",
"array": [
"second_element", "first_element"
]
},
"@id": "test_object_02",
"@type": "otObject",
"relations": [
{
"@type": "otRelation",
"direction": "direct",
"linkedObject": {
"@id": "test_object_01"
},
"relationType": "IS_SIBLING"
},
{
"@type": "otRelation",
"direction": "direct",
"linkedObject": {
"@id": "master_object_01"
},
"relationType": "IS_PARENT"
}
]
},
{
"identifiers": [
{
"@type": "kind",
"@value": "test_object"
},
{
"@type": "id",
"@value": "test_object_01"
}
],
"properties": {
"purpose": "Testing object number 1",
"array": [
"second_element", "first_element"
]
},
"@id": "test_object_01",
"@type": "otObject",
"relations": [
{
"@type": "otRelation",
"direction": "direct",
"linkedObject": {
"@id": "test_object_02"
},
"relationType": "IS_SIBLING"
},
{
"@type": "otRelation",
"direction": "direct",
"linkedObject": {
"@id": "master_object_01"
},
"relationType": "IS_PARENT"
}
]
},
{
"@id": "master_object_01",
"@type": "otObject",
"identifiers": [
{
"@type": "kind",
"@value": "master_object"
},
{
"@type": "id",
"@value": "master_object_01"
}
],
"properties": {
"purpose": "Master object number 1",
"array": [
"second_element", "first_element"
]
},
"relations": [
{
"@type": "otRelation",
"direction": "direct",
"linkedObject": {
"@id": "test_object_02"
},
"relationType": "IS_CHILD"
},
{
"@type": "otRelation",
"direction": "direct",
"linkedObject": {
"@id": "test_object_01"
},
"relationType": "IS_CHILD"
}
]
}
]
}
157 changes: 157 additions & 0 deletions importers/use_cases/otjson_1.1/sort2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,157 @@
{
"@id": "",
"@type": "Dataset",
"datasetHeader": {
"OTJSONVersion": "1.1",
"datasetCreationTimestamp": "2020-06-29T11:01:09.035Z",
"datasetTitle": "",
"datasetDescription": "",
"datasetTags": [],
"relatedDatasets": [],
"validationSchemas": {
"erc725-main": {
"schemaType": "ethereum-725",
"networkId": "ganache"
},
"merkleRoot": {
"schemaType": "merkle-root",
"networkId": "ganache",
"hubContractAddress": "0x0987197628Bb06133B6FA2409eb4cF9FCaFe8d3a"
}
},
"dataIntegrity": {
"proofs": [
{
"proofValue": "",
"proofType": "merkleRootHash",
"validationSchema": "/schemas/merkleRoot"
}
]
},
"dataCreator": {
"identifiers": [
{
"identifierValue": "0x2Fa6d32E314AAB43a58999D6f5532A15418Da153",
"identifierType": "ERC725",
"validationSchema": "/schemas/erc725-main"
}
]
}
},
"@graph": [
{
"identifiers": [
{
"@type": "kind",
"@value": "test_object"
},
{
"@type": "id",
"@value": "test_object_02"
}
],
"properties": {
"purpose": "Testing object number 2",
"array": [
"second_element", "first_element"
]
},
"@id": "test_object_02",
"@type": "otObject",
"relations": [
{
"@type": "otRelation",
"direction": "direct",
"linkedObject": {
"@id": "test_object_01"
},
"relationType": "IS_SIBLING"
},
{
"@type": "otRelation",
"direction": "direct",
"linkedObject": {
"@id": "master_object_01"
},
"relationType": "IS_PARENT"
}
]
},
{
"@id": "master_object_01",
"@type": "otObject",
"identifiers": [
{
"@type": "kind",
"@value": "master_object"
},
{
"@type": "id",
"@value": "master_object_01"
}
],
"properties": {
"purpose": "Master object number 1",
"array": [
"second_element", "first_element"
]
},
"relations": [
{
"@type": "otRelation",
"direction": "direct",
"linkedObject": {
"@id": "test_object_02"
},
"relationType": "IS_CHILD"
},
{
"@type": "otRelation",
"direction": "direct",
"linkedObject": {
"@id": "test_object_01"
},
"relationType": "IS_CHILD"
}
]
},
{
"identifiers": [
{
"@type": "kind",
"@value": "test_object"
},
{
"@type": "id",
"@value": "test_object_01"
}
],
"properties": {
"purpose": "Testing object number 1",
"array": [
"second_element", "first_element"
]
},
"@id": "test_object_01",
"@type": "otObject",
"relations": [
{
"@type": "otRelation",
"direction": "direct",
"linkedObject": {
"@id": "test_object_02"
},
"relationType": "IS_SIBLING"
},
{
"@type": "otRelation",
"direction": "direct",
"linkedObject": {
"@id": "master_object_01"
},
"relationType": "IS_PARENT"
}
]
}
]
}
Loading

0 comments on commit 29dde31

Please sign in to comment.