Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/hotfixes' into release
Browse files Browse the repository at this point in the history
  • Loading branch information
fit-alessandro-berti committed Oct 13, 2023
2 parents 85d155d + f663598 commit 1726f2f
Showing 1 changed file with 117 additions and 0 deletions.
117 changes: 117 additions & 0 deletions tests/input_data/ocel/schema_ocel2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,117 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"eventTypes": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": { "type": "string" },
"attributes": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": { "type": "string" },
"type": { "type": "string" }
},
"required": ["name", "type"]
}
}
},
"required": ["name", "attributes"]
}
},
"objectTypes": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": { "type": "string" },
"attributes": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": { "type": "string" },
"type": { "type": "string" }
},
"required": ["name", "type"]
}
}
},
"required": ["name", "attributes"]
}
},
"events": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": { "type": "string" },
"type": { "type": "string" },
"time": { "type": "string", "format": "date-time" },
"attributes": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": { "type": "string" },
"value": { "type": "string" }
},
"required": ["name", "value"]
}
},
"relationships": {
"type": "array",
"items": {
"type": "object",
"properties": {
"objectId": { "type": "string" },
"qualifier": { "type": "string" }
},
"required": ["objectId", "qualifier"]
}
}
},
"required": ["id", "type", "time"]
}
},
"objects": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": { "type": "string" },
"type": { "type": "string" },
"relationships": {
"type": "array",
"items": {
"type": "object",
"properties": {
"objectId": { "type": "string" },
"qualifier": { "type": "string" }
},
"required": ["objectId", "qualifier"]
}
},
"attributes": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": { "type": "string" },
"value": { "type": "string" },
"time": { "type": "string", "format": "date-time" }
},
"required": ["name", "value", "time"]
}
}
},
"required": ["id", "type"]
}
}
},
"required": ["eventTypes", "objectTypes", "events", "objects"]
}

0 comments on commit 1726f2f

Please sign in to comment.