Skip to content

Commit

Permalink
Jh update pump schema (#84)
Browse files Browse the repository at this point in the history
Adds states and additional variable tags to pump to enable monitoring of
motor health
  • Loading branch information
JonHall101 authored Dec 5, 2024
2 parents 146687e + 3bdedde commit 87a422f
Showing 1 changed file with 113 additions and 7 deletions.
120 changes: 113 additions & 7 deletions Plant/Pump-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,118 @@
"Device_Information": {
"$ref": "https://raw.githubusercontent.com/AMRC-FactoryPlus/schemas/main/Common/Device_Information-v1.json"
},
"Pump_Status": {
"patternProperties": {
"^[a-zA-Z0-9_]*$": {
"$ref": "https://raw.githubusercontent.com/AMRC-FactoryPlus/schemas/main/Common/State-v1.json"
}
},
"type": "object"
},
"Motor": {
"$ref": "https://raw.githubusercontent.com/AMRC-FactoryPlus/schemas/main/Common/Commanded_Value-v1.json"
}
},
"required": [
"Schema_UUID",
"Instance_UUID"
]
}
},
"Crest": {
"allOf": [
{
"$ref": "https://raw.githubusercontent.com/AMRC-FactoryPlus/schemas/main/Common/Metric-v1.json"
},
{
"properties": {
"Documentation": {
"default": ""
},
"Sparkplug_Type": {
"enum": [
"FloatLE",
"FloatBE",
"DoubleBE",
"DoubleLE"
]
},
"Eng_Unit": {
"default": "V"
}
}
}
]
},
"Fatigue": {
"allOf": [
{
"$ref": "https://raw.githubusercontent.com/AMRC-FactoryPlus/schemas/main/Common/Metric-v1.json"
},
{
"properties": {
"Documentation": {
"default": ""
},
"Sparkplug_Type": {
"enum": [
"FloatBE",
"FloatLE",
"DoubleBE",
"DoubleLE"
]
}
}
}
]
},
"Friction": {
"allOf": [
{
"$ref": "https://raw.githubusercontent.com/AMRC-FactoryPlus/schemas/main/Common/Metric-v1.json"
},
{
"properties": {
"Documentation": {
"default": ""
},
"Sparkplug_Type": {
"enum": [
"String",
"FloatLE",
"FloatBE",
"DoubleLE",
"DoubleBE"
]
},
"Eng_Unit": {
"default": "A"
}
}
}
]
},
"Impact": {
"allOf": [
{
"$ref": "https://raw.githubusercontent.com/AMRC-FactoryPlus/schemas/main/Common/Metric-v1.json"
},
{
"properties": {
"Documentation": {
"default": ""
},
"Sparkplug_Type": {
"enum": [
"FloatLE",
"FloatBE",
"DoubleLE",
"DoubleBE"
]
}
}
}
]
},
"Temperature": {
"$ref": "https://raw.githubusercontent.com/AMRC-FactoryPlus/schemas/main/Sensors/Temperature-v1.json"
}
},
"required": [
"Schema_UUID",
"Instance_UUID"
]
}

0 comments on commit 87a422f

Please sign in to comment.