Commit 7d30f821 authored by Ioannis Papagiannopoulos's avatar Ioannis Papagiannopoulos Committed by Jérome Perrin

latest changes in schema definitions

parent 3a65e523
...@@ -166,22 +166,16 @@ ...@@ -166,22 +166,16 @@
} }
} }
}, },
"_fixedFailure" : { "_failure" : {
"type" : "object", "type" : "object",
"title" : "Fixed", "title" : "Yes",
"description" : "Fixed", "description" : "Fixed",
"properties" : { "properties" : {
"MTTF" : { "Time to Failure" : {
"description" : "Mean Time To Failure", "$ref" : "#/definitions/_dist"
"type" : "number",
"default" : 40,
"required" : true
}, },
"MTTR" : { "Time to Repair" : {
"description" : "Mean Time To Repair", "$ref" : "#/definitions/_dist"
"type" : "number",
"default" : 10,
"required" : true
}, },
"repairman" : { "repairman" : {
"description" : "Repairman", "description" : "Repairman",
...@@ -194,35 +188,6 @@ ...@@ -194,35 +188,6 @@
"type" : "string", "type" : "string",
"title" : "No", "title" : "No",
"description" : "None" "description" : "None"
},
"_availability" : {
"type" : "object",
"title" : "Availability",
"description" : "Availability",
"properties" : {
"MTTF" : {
"description" : "Mean Time To Failure",
"type" : "number",
"default" : 40,
"required" : true
},
"MTTR" : {
"description" : "Mean Time To Failure",
"type" : "number",
"default" : 10,
"required" : true
},
"availability" : {
"type" : "number",
"default" : 0,
"required" : true
},
"repairman" : {
"description" : "Repairman",
"type" : "string",
"required" : true
}
}
} }
}, },
"_failureDist" : { "_failureDist" : {
...@@ -234,8 +199,7 @@ ...@@ -234,8 +199,7 @@
"default" : "No", "default" : "No",
"enum" : [ "enum" : [
"No", "No",
"Fixed", "Yes"
"Availability"
] ]
} }
} }
...@@ -244,8 +208,6 @@ ...@@ -244,8 +208,6 @@
"$ref" : "#/definitions/distributionTypes/_fixedFailure" "$ref" : "#/definitions/distributionTypes/_fixedFailure"
}, { }, {
"$ref" : "#/definitions/distributionTypes/_no" "$ref" : "#/definitions/distributionTypes/_no"
}, {
"$ref" : "#/definitions/distributionTypes/_availability"
} }
] ]
} }
...@@ -487,9 +449,14 @@ ...@@ -487,9 +449,14 @@
"$ref" : "#/definitions/_dist", "$ref" : "#/definitions/_dist",
"required" : true "required" : true
}, },
"failures" : { "interruption" : {
"$ref" : "#/definitions/_failureDist", "type": "object",
"required" : true "properties" : {
"failure" : {
"$ref" : "#/definitions/_failureDist",
"required" : true
}
}
} }
} }
} }
...@@ -676,7 +643,7 @@ ...@@ -676,7 +643,7 @@
"name" : "StationID", "name" : "StationID",
"type" : "string" "type" : "string"
}, { }, {
"name" : "RemainingProcessingTime", "name" : "Remaining Processing Time",
"type" : "number" "type" : "number"
} }
] ]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment