Skip to content

Commit

Permalink
Squashed 'gbfs-validator/versions/schemas/' changes from f43170e..2b6…
Browse files Browse the repository at this point in the history
…ad1e

2b6ad1e FIX: replaces name field with localized string (MobilityData#82)
abe71f2 Fix invalid json, no trailing commas (MobilityData#83)

git-subtree-dir: gbfs-validator/versions/schemas
git-subtree-split: 2b6ad1ec46824413bbf477c556744e99991f814c
  • Loading branch information
tdelmas committed Jun 8, 2023
1 parent fbec9c8 commit c8feee4
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
18 changes: 9 additions & 9 deletions v3.0-RC/geofencing_zones.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,17 +57,17 @@
"items": {
"type": "object",
"properties": {
"start": {
"description": "Start time of the alert.",
"type": "integer",
"minimum": 1450155600
"text": {
"description": "The translated text.",
"type": "string"
},
"end": {
"description": "End time of the alert.",
"type": "integer",
"minimum": 1450155600
"language": {
"description": "IETF BCP 47 language code.",
"type": "string",
"pattern": "^[a-z]{2,3}(-[A-Z]{2})?$"
}
}
},
"required": ["text", "language"]
}
},
"start": {
Expand Down
4 changes: 2 additions & 2 deletions v3.0-RC/system_information.json
Original file line number Diff line number Diff line change
Expand Up @@ -1201,9 +1201,9 @@
},
{
"required": ["license_id"],
"not": {"required": ["license_id"] },
"not": {"required": ["license_id"] }
},
{
{
"required": ["license_url"],
"not": {"required": ["license_url"] }
}
Expand Down

0 comments on commit c8feee4

Please sign in to comment.