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 @@
}
}
},
"_fixedFailure" : {
"_failure" : {
"type" : "object",
"title" : "Fixed",
"title" : "Yes",
"description" : "Fixed",
"properties" : {
"MTTF" : {
"description" : "Mean Time To Failure",
"type" : "number",
"default" : 40,
"required" : true
"Time to Failure" : {
"$ref" : "#/definitions/_dist"
},
"MTTR" : {
"description" : "Mean Time To Repair",
"type" : "number",
"default" : 10,
"required" : true
"Time to Repair" : {
"$ref" : "#/definitions/_dist"
},
"repairman" : {
"description" : "Repairman",
......@@ -194,35 +188,6 @@
"type" : "string",
"title" : "No",
"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" : {
......@@ -234,8 +199,7 @@
"default" : "No",
"enum" : [
"No",
"Fixed",
"Availability"
"Yes"
]
}
}
......@@ -244,8 +208,6 @@
"$ref" : "#/definitions/distributionTypes/_fixedFailure"
}, {
"$ref" : "#/definitions/distributionTypes/_no"
}, {
"$ref" : "#/definitions/distributionTypes/_availability"
}
]
}
......@@ -487,9 +449,14 @@
"$ref" : "#/definitions/_dist",
"required" : true
},
"failures" : {
"$ref" : "#/definitions/_failureDist",
"required" : true
"interruption" : {
"type": "object",
"properties" : {
"failure" : {
"$ref" : "#/definitions/_failureDist",
"required" : true
}
}
}
}
}
......@@ -676,7 +643,7 @@
"name" : "StationID",
"type" : "string"
}, {
"name" : "RemainingProcessingTime",
"name" : "Remaining Processing Time",
"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