Skip to content

Commit

Permalink
Merge branch 'master' into 'public'
Browse files Browse the repository at this point in the history
Bring measurementCollection to public

See merge request pimplapps/tjf!18
  • Loading branch information
1000len-stpa committed Dec 5, 2023
2 parents a41b31d + aab33ac commit 0391972
Showing 1 changed file with 134 additions and 0 deletions.
134 changes: 134 additions & 0 deletions schema/measurementCollection-v1.0.0.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,134 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"additionalMeasurementInformation": {
"type": "array",
"items": [
{
"type": "object",
"properties": {
"description": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"description",
"name"
]
},
{
"type": "object",
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
}
},
"required": [
"name",
"value"
]
},
{
"type": "object",
"properties": {
"measurementUuids": {
"type": "array",
"items": {
"type": "object",
"$ref": "https://raw.githubusercontent.com/testo/tjf/public/schema/slim-schema-v1.1.0.json"
}
}
}
}
]
},
"customer": {
"description": "Customer contact information",
"type": "object",
"$ref": "#/definitions/contact"
},
"organisation": {
"description": "Organisation contact information",
"type": "object",
"$ref": "#/definitions/contact"
},
"images": {
"type": "array",
"items": {
"type": "string"
}
},
"timeStamp": {
"description": "The time when the whole data set was created, either as a unix timestamp or as a date in ISO string format",
"type": [
"number",
"string"
]
},
"type": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"id",
"name"
]
}
},
"required": [
"additionalMeasurementInformation",
"timeStamp",
"type"
],
"definitions": {
"contact": {
"description": "An object containing contact information",
"type": "object",
"properties": {
"name": {
"type": "string"
},
"street": {
"type": "string"
},
"city": {
"type": "string"
},
"country": {
"type": "string"
},
"phone": {
"type": "string"
},
"email": {
"type": "string"
},
"personOfContact": {
"type": "string"
},
"fax": {
"type": "string"
},
"homepage": {
"type": "string"
},
"logo": {
"type": "string"
}
}
}
}
}

0 comments on commit 0391972

Please sign in to comment.