Commit cd6650c5 authored by George Nash's avatar George Nash

Clean up spacing in the json IDD file

The use of tabs and spacing was very inconsistant in the
smart_home_server_linux_IDD.json file. It was ran though an
online beautify tool to make tabs and spacing much more
consistant and more readable.
Signed-off-by: George Nash's avatarGeorge Nash <george.nash@intel.com>
parent 6985a554
Pipeline #639 failed with stage
in 5 minutes and 9 seconds
{
"schemes":[
"http"
"schemes": [
"http"
],
"swagger":"2.0",
"consumes":[
"application/json"
"swagger": "2.0",
"consumes": [
"application/json"
],
"paths":{
"/platform?if=oic.if.ll":{
"get":{
"responses":{
"200":{
"schema":{
"$ref":"#/definitions/slinks"
"paths": {
"/platform?if=oic.if.ll": {
"get": {
"responses": {
"200": {
"schema": {
"$ref": "#/definitions/slinks"
},
"description":""
"description": ""
}
},
"parameters":[
{
"$ref":"#/parameters/interface-all40"
"parameters": [
{
"$ref": "#/parameters/interface-all40"
}
],
"description":""
"description": ""
}
},
"/temp":{
"post":{
"responses":{
"403":{
"schema":{
"$ref":"#/definitions/Temperature"
"/temp": {
"post": {
"responses": {
"200": {
"schema": {
"$ref": "#/definitions/Temperature"
},
"description":""
"description": ""
},
"200":{
"schema":{
"$ref":"#/definitions/Temperature"
"403": {
"schema": {
"$ref": "#/definitions/Temperature"
},
"description":""
"description": ""
}
},
"parameters":[
{
"$ref":"#/parameters/interface"
"parameters": [
{
"$ref": "#/parameters/interface"
},
{
"schema":{
"$ref":"#/definitions/Temperature"
"schema": {
"$ref": "#/definitions/Temperature"
},
"in":"body",
"required":true,
"name":"body"
"in": "body",
"required": true,
"name": "body"
}
],
"description":""
"description": ""
},
"get":{
"responses":{
"403":{
"schema":{
"$ref":"#/definitions/Temperature"
"get": {
"responses": {
"200": {
"schema": {
"$ref": "#/definitions/Temperature"
},
"description":""
"description": ""
},
"200":{
"schema":{
"$ref":"#/definitions/Temperature"
"403": {
"schema": {
"$ref": "#/definitions/Temperature"
},
"description":""
"description": ""
}
},
"parameters":[
{
"$ref":"#/parameters/interface"
"parameters": [
{
"$ref": "#/parameters/interface"
},
{
"$ref":"#/parameters/unit"
"$ref": "#/parameters/unit"
}
],
"description":""
"description": ""
}
},
"/switch":{
"post":{
"responses":{
"200":{
"schema":{
"$ref":"#/definitions/BinarySwitch"
"/switch": {
"post": {
"responses": {
"200": {
"schema": {
"$ref": "#/definitions/BinarySwitch"
},
"description":""
"description": ""
}
},
"parameters":[
{
"$ref":"#/parameters/interface10"
"parameters": [
{
"$ref": "#/parameters/interface10"
},
{
"schema":{
"$ref":"#/definitions/BinarySwitch"
"schema": {
"$ref": "#/definitions/BinarySwitch"
},
"in":"body",
"required":true,
"name":"body"
"in": "body",
"required": true,
"name": "body"
}
],
"description":""
"description": ""
},
"get":{
"responses":{
"200":{
"schema":{
"$ref":"#/definitions/BinarySwitch"
"get": {
"responses": {
"200": {
"schema": {
"$ref": "#/definitions/BinarySwitch"
},
"description":""
"description": ""
}
},
"parameters":[
{
"$ref":"#/parameters/interface10"
"parameters": [
{
"$ref": "#/parameters/interface10"
}
],
"description":""
"description": ""
}
},
"/platform?if=oic.if.b":{
"post":{
"responses":{
"403":{
"schema":{
"$ref":"#/definitions/sbatch-retrieve"
"/platform?if=oic.if.b": {
"post": {
"responses": {
"200": {
"schema": {
"$ref": "#/definitions/sbatch-retrieve"
},
"description":""
"description": ""
},
"200":{
"schema":{
"$ref":"#/definitions/sbatch-retrieve"
"403": {
"schema": {
"$ref": "#/definitions/sbatch-retrieve"
},
"description":""
"description": ""
}
},
"parameters":[
{
"$ref":"#/parameters/interface-update"
"parameters": [
{
"$ref": "#/parameters/interface-update"
},
{
"schema":{
"$ref":"#/definitions/sbatch-update"
"schema": {
"$ref": "#/definitions/sbatch-update"
},
"in":"body",
"required":true,
"name":"body"
"in": "body",
"required": true,
"name": "body"
}
],
"description":""
"description": ""
},
"get":{
"responses":{
"200":{
"schema":{
"$ref":"#/definitions/sbatch-retrieve"
"get": {
"responses": {
"200": {
"schema": {
"$ref": "#/definitions/sbatch-retrieve"
},
"description":""
"description": ""
},
"404":{
"schema":{
"$ref":"#/definitions/sbatch-retrieve"
"404": {
"schema": {
"$ref": "#/definitions/sbatch-retrieve"
},
"description":""
"description": ""
}
},
"parameters":[
{
"$ref":"#/parameters/interface-all40"
"parameters": [
{
"$ref": "#/parameters/interface-all40"
}
],
"description":""
"description": ""
}
},
"/oic/p":{
"get":{
"responses":{
"200":{
"schema":{
"$ref":"#/definitions/Platform"
"/oic/p": {
"get": {
"responses": {
"200": {
"schema": {
"$ref": "#/definitions/Platform"
},
"description":""
"description": ""
}
},
"parameters":[
{
"$ref":"#/parameters/interface30"
"parameters": [
{
"$ref": "#/parameters/interface30"
}
],
"description":""
"description": ""
}
},
"/oic/mnt":{
"post":{
"responses":{
"200":{
"schema":{
"$ref":"#/definitions/mnt"
"/oic/mnt": {
"post": {
"responses": {
"200": {
"schema": {
"$ref": "#/definitions/mnt"
},
"description":""
"description": ""
}
},
"parameters":[
{
"$ref":"#/parameters/interface-rw"
"parameters": [
{
"$ref": "#/parameters/interface-rw"
},
{
"schema":{
"$ref":"#/definitions/mnt-update"
"schema": {
"$ref": "#/definitions/mnt-update"
},
"in":"body",
"required":true,
"name":"body"
"in": "body",
"required": true,
"name": "body"
}
],
"description":""
"description": ""
},
"get":{
"responses":{
"200":{
"schema":{
"$ref":"#/definitions/mnt"
"get": {
"responses": {
"200": {
"schema": {
"$ref": "#/definitions/mnt"
},
"description":""
"description": ""
}
},
"parameters":[
{
"$ref":"#/parameters/interface-all"
"parameters": [
{
"$ref": "#/parameters/interface-all"
}
],
"description":""
"description": ""
}
},
"/platform?if=oic.if.baseline":{
"post":{
"responses":{
"200":{
"schema":{
"$ref":"#/definitions/sbaseline"
"/platform?if=oic.if.baseline": {
"post": {
"responses": {
"200": {
"schema": {
"$ref": "#/definitions/sbaseline"
},
"description":""
"description": ""
}
},
"parameters":[
{
"$ref":"#/parameters/interface-update"
"parameters": [
{
"$ref": "#/parameters/interface-update"
},
{
"schema":{
"$ref":"#/definitions/sbaseline-update"
"schema": {
"$ref": "#/definitions/sbaseline-update"
},
"in":"body",
"required":true,
"name":"body"
"in": "body",
"required": true,
"name": "body"
}
],
"description":""
"description": ""
},
"get":{
"responses":{
"200":{
"schema":{
"$ref":"#/definitions/sbaseline"
"get": {
"responses": {
"200": {
"schema": {
"$ref": "#/definitions/sbaseline"
},
"description":""
"description": ""
}
},
"parameters":[
{
"$ref":"#/parameters/interface-all40"
"parameters": [
{
"$ref": "#/parameters/interface-all40"
}
],
"description":""
"description": ""
}
}
},
"definitions":{
"sbatch-update":{
"minItems":1,
"items":{
"required":[
"href",
"definitions": {
"sbatch-update": {
"minItems": 1,
"items": {
"required": [
"href",
"rep"
],
"properties":{
"href":{
"format":"uri",
"type":"string",
"maxLength":256,
"description":""
"properties": {
"href": {
"format": "uri",
"type": "string",
"maxLength": 256,
"description": ""
},
"rep":{
"type":"object",
"anyOf":[
{
"$ref":"#/definitions/BinarySwitch"
"rep": {
"type": "object",
"anyOf": [
{
"$ref": "#/definitions/BinarySwitch"
}
]
}
},
"type":"object",
"additionalProperties":true,
"description":""
"type": "object",
"additionalProperties": true,
"description": ""
},
"type":"array",
"title":"Collection Batch Update Format"
"type": "array",
"title": "Collection Batch Update Format"
},
"BinarySwitch":{
"properties":{
"rt":{
"minItems":1,
"items":{
"enum":[
"oic.r.switch.binary"
"BinarySwitch": {
"properties": {
"rt": {
"minItems": 1,
"items": {
"enum": [
"oic.r.switch.binary"
],
"type":"string",
"maxLength":64
"type": "string",
"maxLength": 64
},
"description":"",
"uniqueItems":true,
"readOnly":true,
"default":[
"oic.r.switch.binary"
"description": "",
"uniqueItems": true,
"readOnly": true,
"default": [
"oic.r.switch.binary"
],
"type":"array"
"type": "array"
},
"if":{
"minItems":2,
"items":{
"enum":[
"oic.if.a",
"if": {
"minItems": 2,
"items": {
"enum": [
"oic.if.a",
"oic.if.baseline"
],
"type":"string"
"type": "string"
},
"description":"",
"uniqueItems":true,
"readOnly":true,
"type":"array"
},
"value":{
"type":"boolean",
"description":""
},
"tag-pos-desc":{
"description":"Descriptive relative position of the Resource",
"type":"string",
"enum":[
"unknown",
"description": "",
"uniqueItems": true,
"readOnly": true,
"type": "array"
},
"value": {
"type": "boolean",
"description": ""
},
"tag-pos-desc": {
"description": "Descriptive relative position of the Resource",
"type": "string",
"enum": [
"unknown",
"top",
"bottom",
"left",
......@@ -368,72 +368,72 @@
"topcentre",
"bottomcentre"
],
"readOnly":true
},
"tag-func-desc":{
"readOnly":true,
"type":"string",
"description":""
},
"tag-pos-rel":{
"type":"array",
"readOnly":true,
"description":"Relative position; against a known [0,0,0] point.",
"minItems":3,
"maxItems":3,
"items":{
"type":"number",
"minimum":-1,
"maximum":1
"readOnly": true
},
"tag-func-desc": {
"readOnly": true,
"type": "string",
"description": ""
},
"tag-pos-rel": {
"type": "array",
"readOnly": true,
"description": "Relative position; against a known [0,0,0] point.",
"minItems"