| { |
| "$schema": "http://json-schema.org/draft-07/schema#", |
| "definitions": { |
| "IBMCFFPSConnector": { |
| "title": "IBM Common Form Factor (CFF) Power Supply connectors", |
| "description": [ |
| "A schema associating an I2C endpoint and a GPIO for IBM CFF", |
| "power supplies. In the entity-manager", |
| "detector-configuration-reactor architecture, the daemon that", |
| "supports IBM CFFPS is both a detector and reactor. It probes", |
| "the endpoints described by this schema (reactor) and publishes", |
| "the CFFPS FRU information (detector)." |
| ], |
| "type": "object", |
| "properties": { |
| "Name": { |
| "type": "string" |
| }, |
| "Type": { |
| "enum": [ |
| "IBMCFFPSConnector" |
| ] |
| }, |
| "I2CBus": { |
| "description": [ |
| "The I2C address on which to probe for a CFFPS." |
| ], |
| "type": "number" |
| }, |
| "I2CAddress": { |
| "description": [ |
| "The I2C bus number on which to probe for a CFFPS." |
| ], |
| "type": "number" |
| }, |
| "NamedPresenceGpio": { |
| "description": [ |
| "The name of the GPIO to monitor that indicates CFFPS", |
| "plug state." |
| ], |
| "type": "string" |
| } |
| }, |
| "required": [ |
| "Name", |
| "Type", |
| "I2CBus", |
| "I2CAddress", |
| "NamedPresenceGpio" |
| ] |
| }, |
| "IBMCompatibleSystem": { |
| "title": "System compatibility", |
| "description": [ |
| "Devicetree-like compatibility strings for systems, where a", |
| "'system' is roughly defined as the combination of a chassis and a", |
| "mainboard.", |
| "", |
| "The strings should be used by applications to match the", |
| "entity with entries or configuration in a hardware database.", |
| "Strings appear in the list from most specific to most", |
| "general. This allows an entity to express compatibility with", |
| "a family of similar systems, in turn allowing an application", |
| "to match a variety of systems with a single", |
| "IBMCompatibleSystem entry.", |
| "", |
| "The recommended entry format is 'manufacturer,model' where", |
| "the manufacturer is a string describing the name of the", |
| "manufacturer and model specifies the model number." |
| |
| ], |
| "type": "object", |
| "properties": { |
| "Name": { |
| "type": "string" |
| }, |
| "Type": { |
| "enum": [ |
| "IBMCompatibleSystem" |
| ] |
| }, |
| "Names": { |
| "type": "array", |
| "items": { |
| "enum": [ |
| "ibm,everest", |
| "ibm,rainier-2u", |
| "ibm,rainier-1s4u", |
| "ibm,rainier-4u", |
| "ibm,rainier" |
| ] |
| } |
| } |
| }, |
| "required": [ |
| "Name", |
| "Type", |
| "Names" |
| ] |
| } |
| } |
| } |