1f017977eSJagpal Singh Gill{ 2f017977eSJagpal Singh Gill "$schema": "http://json-schema.org/draft-07/schema#", 3f017977eSJagpal Singh Gill "$defs": { 4f017977eSJagpal Singh Gill "GPIOValve": { 5f017977eSJagpal Singh Gill "additionalProperties": false, 6f017977eSJagpal Singh Gill "description": "Configuration for GPIO based Valve.", 7f017977eSJagpal Singh Gill "type": "object", 8f017977eSJagpal Singh Gill "properties": { 9f017977eSJagpal Singh Gill "Name": { 10f017977eSJagpal Singh Gill "description": "The name of the valve.", 11f017977eSJagpal Singh Gill "type": "string" 12f017977eSJagpal Singh Gill }, 13f017977eSJagpal Singh Gill "Type": { 14f017977eSJagpal Singh Gill "description": "The type of configuration object", 15f017977eSJagpal Singh Gill "const": "GPIOValve" 16f017977eSJagpal Singh Gill }, 17f017977eSJagpal Singh Gill "OpenPinName": { 18f017977eSJagpal Singh Gill "description": "The name of the GPIO pin that shows the valve's open status.", 19f017977eSJagpal Singh Gill "type": "string" 20f017977eSJagpal Singh Gill }, 21f017977eSJagpal Singh Gill "OpenPolarity": { 22f017977eSJagpal Singh Gill "description": "The GPIO polarity depicting valve's open status.", 23f017977eSJagpal Singh Gill "$ref": "legacy.json#/$defs/Types/Polarity" 24f017977eSJagpal Singh Gill }, 25f017977eSJagpal Singh Gill "OpenControlPinName": { 26f017977eSJagpal Singh Gill "description": "The name of the GPIO pin that controls opening the valve.", 27f017977eSJagpal Singh Gill "type": "string" 28f017977eSJagpal Singh Gill }, 29f017977eSJagpal Singh Gill "OpenControlValue": { 30f017977eSJagpal Singh Gill "description": "The GPIO value to set to open the valve.", 31f017977eSJagpal Singh Gill "type": "boolean" 32*86780aa2SJagpal Singh Gill }, 33*86780aa2SJagpal Singh Gill "CoolantLoopName": { 34*86780aa2SJagpal Singh Gill "description": "The name of the coolant loop to which this valve is connected.", 35*86780aa2SJagpal Singh Gill "type": "string" 36f017977eSJagpal Singh Gill } 37f017977eSJagpal Singh Gill }, 38f017977eSJagpal Singh Gill "required": [ 39f017977eSJagpal Singh Gill "Name", 40f017977eSJagpal Singh Gill "Type", 41f017977eSJagpal Singh Gill "OpenPinName", 42f017977eSJagpal Singh Gill "OpenPolarity", 43f017977eSJagpal Singh Gill "OpenControlPinName", 44*86780aa2SJagpal Singh Gill "OpenControlValue", 45*86780aa2SJagpal Singh Gill "CoolantLoopName" 46f017977eSJagpal Singh Gill ] 47f017977eSJagpal Singh Gill } 48f017977eSJagpal Singh Gill } 49f017977eSJagpal Singh Gill} 50