Skip to content

Commit

Permalink
Add Facility/Zone-v1
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexGodbehere committed Sep 20, 2024
1 parent 8e68ba1 commit ba19a89
Showing 1 changed file with 67 additions and 0 deletions.
67 changes: 67 additions & 0 deletions Facility/Zone-v1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
{
"$id": "https://raw.githubusercontent.com/AMRC-FactoryPlus/schemas/main/Facility/Zone-v1.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"Schema_UUID": {
"const": "09a88805-9844-44dd-b686-e61608908e08"
},
"Instance_UUID": {
"description": "The unique identifier for this object. (A UUID specified by RFC4122).",
"type": "string",
"format": "uuid"
},
"Carbon_Dioxide_Sensors": {
"patternProperties": {
"^[a-zA-Z0-9_]*$": {
"$ref": "https://raw.githubusercontent.com/AMRC-FactoryPlus/schemas/main/Sensors/Carbon_Dioxide-v1.json"
}
},
"type": "object"
},
"Electrical_Energy_Sensors": {
"patternProperties": {
"^[a-zA-Z0-9_]*$": {
"$ref": "https://raw.githubusercontent.com/AMRC-FactoryPlus/schemas/main/Sensors/Electrical_Energy-v1.json"
}
},
"type": "object"
},
"Temperature_Sensors": {
"patternProperties": {
"^[a-zA-Z0-9_]*$": {
"$ref": "https://raw.githubusercontent.com/AMRC-FactoryPlus/schemas/main/Sensors/Temperature-v1.json"
}
},
"type": "object"
},
"Humidity_Sensors": {
"patternProperties": {
"^[a-zA-Z0-9_]*$": {
"$ref": "https://raw.githubusercontent.com/AMRC-FactoryPlus/schemas/main/Sensors/Humidity-v1.json"
}
},
"type": "object"
},
"Light_Intensity_Sensors": {
"patternProperties": {
"^[a-zA-Z0-9_]*$": {
"$ref": "https://raw.githubusercontent.com/AMRC-FactoryPlus/schemas/main/Sensors/Light_Intensity-v1.json"
}
},
"type": "object"
},
"Sound_Level_Sensors": {
"patternProperties": {
"^[a-zA-Z0-9_]*$": {
"$ref": "https://raw.githubusercontent.com/AMRC-FactoryPlus/schemas/main/Sensors/Sound_Level-v1.json"
}
},
"type": "object"
}
},
"required": [
"Schema_UUID",
"Instance_UUID"
]
}

0 comments on commit ba19a89

Please sign in to comment.