Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

18-056: Fixed missing comma between items in several json arrays #69

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 18 additions & 18 deletions src/18-056/5-examples.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ a) taskingParameters in TaskingCapability
"description": "The total count of house cleaning",
"constraint": {
"type": "AllowedValues",
"interval": [0 10]
"interval": [0, 10]
}
}
----
Expand Down Expand Up @@ -192,7 +192,7 @@ a) taskingParameters in TaskCapability
},
"constraint": {
"type": "AllowedValues",
"interval": [0 100],
"interval": [0, 100],
"significantFigures": 3
}
}
Expand Down Expand Up @@ -260,7 +260,7 @@ b) taskingParameters in Task
{
"destination”: {
"type": "Point",
"coordinates": [-114.06,51.05]
"coordinates": [-114.06, 51.05]
}
}
----
Expand All @@ -283,7 +283,7 @@ a) taskingParameters in TaskCapability
"description": "Set light color to red when the hurricane is in the range",
"constraint": {
"type": "AllowedTokens",
"value": ["level 1","level 2","level 3","level 4","level 5","level 6"]
"value": ["level 1", "level 2", "level 3", "level 4", "level 5", "level 6"]
}
}
----
Expand All @@ -293,7 +293,7 @@ b) taskingParameters in Task
[source,json]
----
{
"red_levels": ["level 4" "level 6"]
"red_levels": ["level 4", "level 6"]
}
----

Expand All @@ -317,7 +317,7 @@ a) taskingParameters in TaskCapability
"description": "Set the elevator warning sound based on the number of people enter the elevator",
"constraint": {
"type": "AllowedValues",
"interval": [1 10]
"interval": [1, 10]
}
}
----
Expand All @@ -327,7 +327,7 @@ b) taskingParameters in Task
[source,json]
----
{
"set_elevator_warning": [6 9]
"set_elevator_warning": [6, 9]
}
----

Expand All @@ -354,7 +354,7 @@ a) taskingParameters in TaskCapability
},
"constraint": {
"type": "AllowedValues",
"interval": [0 500],
"interval": [0, 500],
"significantFigures": 4
}
}
Expand All @@ -365,7 +365,7 @@ b) taskingParameters in Task
[source,json]
----
{
"good_air_quality_light_color": [0.0 12.0]
"good_air_quality_light_color": [0.0, 12.0]
}
----

Expand All @@ -389,7 +389,7 @@ b) taskingParameters in Task
[source,json]
----
{
"calendar_range": ["2018-05-01T00:00:00Z" "2018-05-31T24:00:00Z"]
"calendar_range": ["2018-05-01T00:00:00Z", "2018-05-31T24:00:00Z"]
}
----

Expand Down Expand Up @@ -495,7 +495,7 @@ a) taskingParameters in TaskCapability
},
"constraint": {
"type": "AllowedValues",
"Interval": [1050 1500],
"Interval": [1050, 1500],
"significantFigures": 4
}
}
Expand Down Expand Up @@ -562,7 +562,7 @@ a) taskingParameters in TaskCapability
},
"constraint": {
"type": "AllowedValues",
"interval": [0 100],
"interval": [0, 100],
"significantFigures": 2
}
}
Expand Down Expand Up @@ -602,7 +602,7 @@ a) taskingParameters in TaskCapability
},
"constraint": {
"type": "AllowedValues",
"interval": [0 500],
"interval": [0, 500],
"significantFigures": 4
}
},
Expand All @@ -618,7 +618,7 @@ a) taskingParameters in TaskCapability
},
"constraint": {
"type": "AllowedValues",
"interval": [0 500],
"interval": [0, 500],
"significantFigures": 4
}
},
Expand All @@ -634,7 +634,7 @@ a) taskingParameters in TaskCapability
},
"constraint": {
"type": "AllowedValues",
"interval": [0 500],
"interval": [0, 500],
"significantFigures": 4
}
}
Expand All @@ -647,8 +647,8 @@ b) taskingParameters in Task
[source,json]
----
{
"good_air_quality_light_color": [0 12.0],
"medium_air_quality_light_color": [12.1 55.4],
"bad_air_quality_light_color": [55.5 500]
"good_air_quality_light_color": [0, 12.0],
"medium_air_quality_light_color": [12.1, 55.4],
"bad_air_quality_light_color": [55.5, 500]
}
----