Skip to content

Commit

Permalink
Added ActivityInfluence with nested properties
Browse files Browse the repository at this point in the history
  • Loading branch information
rob-metalinkage committed May 28, 2024
1 parent 8af40ca commit 43e6b6f
Showing 1 changed file with 96 additions and 81 deletions.
177 changes: 96 additions & 81 deletions _sources/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@
"featureType"
]
},
{
{
"required": [
"entityType"
]
Expand Down Expand Up @@ -691,107 +691,123 @@
"entity"
]
},
"Generation": {
"ActivityInfluence": {
"type": "object",
"properties": {
"id": {
"$ref": "#/$defs/objectref"
},
"type": {
"oneOf": [
{
"type": "string",
"const": "Generation"
},
{
"type": "array",
"contains": {
"type": "string",
"const": "Generation"
},
"items": {
"type": "string"
}
}
]
},
"atTime": {
"$ref": "#/$defs/dateTime"
},
"hadRole": {
"$ref": "#/$defs/oneOrMoreObjectref"
},
"influencer": {
"$ref": "#/$defs/oneOrMoreObjectref"
},
"hadActivity": {
"$ref": "#/$defs/oneOrMoreObjectref"
}
},
"required": [
"atTime"
]
}
},
"Invalidation": {
"type": "object",
"properties": {
"id": {
"$ref": "#/$defs/objectref"
"Generation": {
"allOf": [
{
"$ref": "#/$defs/ActivityInfluence"
},
"type": {
"oneOf": [
{
"type": "string",
"const": "Invalidation"
},
{
"type": "array",
"contains": {
"type": "string",
"const": "Invalidation"
},
"items": {
"type": "string"
}
{
"type": "object",
"properties": {
"type": {
"oneOf": [
{
"type": "string",
"const": "Generation"
},
{
"type": "array",
"contains": {
"type": "string",
"const": "Generation"
},
"items": {
"type": "string"
}
}
]
}
},
"required": [
"type"
]
},
"atTime": {
"$ref": "#/$defs/dateTime"
}
},
"required": [
"atTime"
]
},
"Communication": {
"type": "object",
"properties": {
"id": {
"$ref": "#/$defs/objectref"
"Invalidation": {
"allOf": [
{
"$ref": "#/$defs/ActivityInfluence"
},
"type": {
"oneOf": [
{
"type": "string",
"const": "Communication"
},
{
"type": "array",
"contains": {
"type": "string",
"const": "Communication"
},
"items": {
"type": "string"
}
{
"type": "object",
"properties": {
"type": {
"oneOf": [
{
"type": "string",
"const": "Invalidation"
},
{
"type": "array",
"contains": {
"type": "string",
"const": "Invalidation"
},
"items": {
"type": "string"
}
}
]
}
},
"required": [
"type"
]
}
]
},
"Communication": {
"allOf": [
{
"$ref": "#/$defs/ActivityInfluence"
},
"activity": {
"oneOf": [
{
"$ref": "#/$defs/objectref"
},
{
"$ref": "#/$defs/Activity"
{
"type": "object",
"properties": {
"type": {
"oneOf": [
{
"type": "string",
"const": "Communication"
},
{
"type": "array",
"contains": {
"type": "string",
"const": "Communication"
},
"items": {
"type": "string"
}
}
]
}
},
"required": [
"type"
]
}
},
"required": [
"activity"
]
},
"StartOrEnd": {
Expand Down Expand Up @@ -1161,6 +1177,5 @@
{
"$ref": "#/$defs/Activity"
}

]
}

0 comments on commit 43e6b6f

Please sign in to comment.