Skip to content

Commit

Permalink
Fix broken metaobject -> propertyset links in metadata #37
Browse files Browse the repository at this point in the history
  • Loading branch information
xeolabs committed Apr 14, 2022
1 parent fdf0efe commit 4b95670
Showing 1 changed file with 112 additions and 107 deletions.
219 changes: 112 additions & 107 deletions specs/xkt_v9_metadata.schema.json
Original file line number Diff line number Diff line change
@@ -1,115 +1,120 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"projectId": {
"type": "string"
},
"revisionId": {
"type": "string"
},
"author": {
"type": "string"
},
"createdAt": {
"type": "string"
},
"schema": {
"type": "string"
},
"propertySets": {
"type": "array",
"items": [
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"projectId": {
"type": "string"
},
"revisionId": {
"type": "string"
},
"author": {
"type": "string"
},
"createdAt": {
"type": "string"
},
"schema": {
"type": "string"
},
"propertySets": {
"type": "array",
"items": [
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
},
"properties": {
"type": "array",
"items": [
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
},
"properties": {
"type": "array",
"items": [
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "number"
},
"value": {
"type": "string"
},
"valueType": {
"type": "number"
}
},
"required": [
"id",
"name",
"type",
"value"
]
}
]
}
"type": "object",
"properties": {
"id": {
"type": "string"
},
"required": [
"id",
"name",
"type",
"properties"
]
}
]
},
"metaObjects": {
"type": "array",
"items": [
{
"type": "object",
"properties": {
"name": {
"type": "string"
},
"type": {
"type": "string"
},
"id": {
"type": "string"
},
"parent": {
"type": "string"
},
"propertySetId": {
"type": "string"
}
"name": {
"type": "string"
},
"type": {
"type": "number"
},
"value": {
"type": "string"
},
"required": [
"name",
"type",
"id"
]
"valueType": {
"type": "number"
}
},
"required": [
"id",
"name",
"type",
"value"
]
}
]
]
}
},
"required": [
"id",
"name",
"type",
"properties"
]
}
]
},
"required": [
"projectId",
"revisionId",
"author",
"createdAt",
"schema",
"metaObjects"
]
"metaObjects": {
"type": "array",
"items": [
{
"type": "object",
"properties": {
"name": {
"type": "string"
},
"type": {
"type": "string"
},
"id": {
"type": "string"
},
"parent": {
"type": "string"
},
"propertySetIds": {
"type": "array",
"items": [
{
"type": "string"
}
]
}
},
"required": [
"name",
"type",
"id"
]
}
]
}
},
"required": [
"projectId",
"revisionId",
"author",
"createdAt",
"schema",
"metaObjects"
]
}

0 comments on commit 4b95670

Please sign in to comment.