Implement JsonSchema endpoint
This patchset implements JsonSchema support, and automates our update
of the XML metadata, and Json schema files in the future by way of a
python script.
Change-Id: Iec6f580d10736678149db18d87be2f140b535be9
Signed-off-by: Ed Tanous <ed.tanous@intel.com>
Signed-off-by: James Feist <james.feist@linux.intel.com>
diff --git a/static/redfish/v1/JsonSchemas/index.json b/static/redfish/v1/JsonSchemas/index.json
new file mode 100644
index 0000000..913e471
--- /dev/null
+++ b/static/redfish/v1/JsonSchemas/index.json
@@ -0,0 +1,217 @@
+{
+ "@odata.id": "/redfish/v1/JsonSchemas",
+ "@odata.context": "/redfish/v1/$metadata#JsonSchemaFileCollection.JsonSchemaFileCollection",
+ "@odata.type": "#JsonSchemaFileCollection.JsonSchemaFileCollection",
+ "Name": "JsonSchemaFile Collection",
+ "Description": "Collection of JsonSchemaFiles",
+ "Members@odata.count": 69,
+ "Members": [
+ {
+ "@odata.id": "/redfish/v1/JsonSchemas/AccountService/"
+ },
+ {
+ "@odata.id": "/redfish/v1/JsonSchemas/ActionInfo/"
+ },
+ {
+ "@odata.id": "/redfish/v1/JsonSchemas/Assembly/"
+ },
+ {
+ "@odata.id": "/redfish/v1/JsonSchemas/AttributeRegistry/"
+ },
+ {
+ "@odata.id": "/redfish/v1/JsonSchemas/Bios/"
+ },
+ {
+ "@odata.id": "/redfish/v1/JsonSchemas/BootOption/"
+ },
+ {
+ "@odata.id": "/redfish/v1/JsonSchemas/Chassis/"
+ },
+ {
+ "@odata.id": "/redfish/v1/JsonSchemas/CollectionCapabilities/"
+ },
+ {
+ "@odata.id": "/redfish/v1/JsonSchemas/CompositionService/"
+ },
+ {
+ "@odata.id": "/redfish/v1/JsonSchemas/ComputerSystem/"
+ },
+ {
+ "@odata.id": "/redfish/v1/JsonSchemas/Drive/"
+ },
+ {
+ "@odata.id": "/redfish/v1/JsonSchemas/Endpoint/"
+ },
+ {
+ "@odata.id": "/redfish/v1/JsonSchemas/EthernetInterface/"
+ },
+ {
+ "@odata.id": "/redfish/v1/JsonSchemas/Event/"
+ },
+ {
+ "@odata.id": "/redfish/v1/JsonSchemas/EventDestination/"
+ },
+ {
+ "@odata.id": "/redfish/v1/JsonSchemas/EventService/"
+ },
+ {
+ "@odata.id": "/redfish/v1/JsonSchemas/ExternalAccountProvider/"
+ },
+ {
+ "@odata.id": "/redfish/v1/JsonSchemas/Fabric/"
+ },
+ {
+ "@odata.id": "/redfish/v1/JsonSchemas/HostInterface/"
+ },
+ {
+ "@odata.id": "/redfish/v1/JsonSchemas/IPAddresses/"
+ },
+ {
+ "@odata.id": "/redfish/v1/JsonSchemas/JsonSchemaFile/"
+ },
+ {
+ "@odata.id": "/redfish/v1/JsonSchemas/LogEntry/"
+ },
+ {
+ "@odata.id": "/redfish/v1/JsonSchemas/LogService/"
+ },
+ {
+ "@odata.id": "/redfish/v1/JsonSchemas/Manager/"
+ },
+ {
+ "@odata.id": "/redfish/v1/JsonSchemas/ManagerAccount/"
+ },
+ {
+ "@odata.id": "/redfish/v1/JsonSchemas/ManagerNetworkProtocol/"
+ },
+ {
+ "@odata.id": "/redfish/v1/JsonSchemas/Memory/"
+ },
+ {
+ "@odata.id": "/redfish/v1/JsonSchemas/MemoryChunks/"
+ },
+ {
+ "@odata.id": "/redfish/v1/JsonSchemas/MemoryDomain/"
+ },
+ {
+ "@odata.id": "/redfish/v1/JsonSchemas/MemoryMetrics/"
+ },
+ {
+ "@odata.id": "/redfish/v1/JsonSchemas/Message/"
+ },
+ {
+ "@odata.id": "/redfish/v1/JsonSchemas/MessageRegistry/"
+ },
+ {
+ "@odata.id": "/redfish/v1/JsonSchemas/MessageRegistryFile/"
+ },
+ {
+ "@odata.id": "/redfish/v1/JsonSchemas/NetworkAdapter/"
+ },
+ {
+ "@odata.id": "/redfish/v1/JsonSchemas/NetworkDeviceFunction/"
+ },
+ {
+ "@odata.id": "/redfish/v1/JsonSchemas/NetworkInterface/"
+ },
+ {
+ "@odata.id": "/redfish/v1/JsonSchemas/NetworkPort/"
+ },
+ {
+ "@odata.id": "/redfish/v1/JsonSchemas/PCIeDevice/"
+ },
+ {
+ "@odata.id": "/redfish/v1/JsonSchemas/PCIeFunction/"
+ },
+ {
+ "@odata.id": "/redfish/v1/JsonSchemas/PhysicalContext/"
+ },
+ {
+ "@odata.id": "/redfish/v1/JsonSchemas/Port/"
+ },
+ {
+ "@odata.id": "/redfish/v1/JsonSchemas/Power/"
+ },
+ {
+ "@odata.id": "/redfish/v1/JsonSchemas/PrivilegeRegistry/"
+ },
+ {
+ "@odata.id": "/redfish/v1/JsonSchemas/Privileges/"
+ },
+ {
+ "@odata.id": "/redfish/v1/JsonSchemas/Processor/"
+ },
+ {
+ "@odata.id": "/redfish/v1/JsonSchemas/Redundancy/"
+ },
+ {
+ "@odata.id": "/redfish/v1/JsonSchemas/Resource/"
+ },
+ {
+ "@odata.id": "/redfish/v1/JsonSchemas/ResourceBlock/"
+ },
+ {
+ "@odata.id": "/redfish/v1/JsonSchemas/Role/"
+ },
+ {
+ "@odata.id": "/redfish/v1/JsonSchemas/SecureBoot/"
+ },
+ {
+ "@odata.id": "/redfish/v1/JsonSchemas/SerialInterface/"
+ },
+ {
+ "@odata.id": "/redfish/v1/JsonSchemas/ServiceRoot/"
+ },
+ {
+ "@odata.id": "/redfish/v1/JsonSchemas/Session/"
+ },
+ {
+ "@odata.id": "/redfish/v1/JsonSchemas/SessionService/"
+ },
+ {
+ "@odata.id": "/redfish/v1/JsonSchemas/Settings/"
+ },
+ {
+ "@odata.id": "/redfish/v1/JsonSchemas/SimpleStorage/"
+ },
+ {
+ "@odata.id": "/redfish/v1/JsonSchemas/SoftwareInventory/"
+ },
+ {
+ "@odata.id": "/redfish/v1/JsonSchemas/Storage/"
+ },
+ {
+ "@odata.id": "/redfish/v1/JsonSchemas/Switch/"
+ },
+ {
+ "@odata.id": "/redfish/v1/JsonSchemas/Task/"
+ },
+ {
+ "@odata.id": "/redfish/v1/JsonSchemas/TaskService/"
+ },
+ {
+ "@odata.id": "/redfish/v1/JsonSchemas/Thermal/"
+ },
+ {
+ "@odata.id": "/redfish/v1/JsonSchemas/UpdateService/"
+ },
+ {
+ "@odata.id": "/redfish/v1/JsonSchemas/VLanNetworkInterface/"
+ },
+ {
+ "@odata.id": "/redfish/v1/JsonSchemas/VirtualMedia/"
+ },
+ {
+ "@odata.id": "/redfish/v1/JsonSchemas/Volume/"
+ },
+ {
+ "@odata.id": "/redfish/v1/JsonSchemas/Zone/"
+ },
+ {
+ "@odata.id": "/redfish/v1/JsonSchemas/odata/"
+ },
+ {
+ "@odata.id": "/redfish/v1/JsonSchemas/redfish-schema/"
+ }
+ ]
+}
\ No newline at end of file