Skip to content

Commit

Permalink
Merge pull request #1415 from adwait-godbole/json-schema-org-implemen…
Browse files Browse the repository at this point in the history
…tations-file-minor-refactor

minor key names renaming and refactoring in json-schema.org implementations file
  • Loading branch information
Julian authored Aug 7, 2024
2 parents 124f862 + ee80721 commit d941dda
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,12 +105,12 @@ jobs:
badges_urls: (
{
supported_versions: "https://bowtie.report/badges/\($info.language)-\($info.name)/supported_versions.json",
dialects_compliance: (
compliance: (
$info.dialects | map(
. as $uri |
$dialects[0] | map(select(.uri == $uri)) | .[0] |
{
(.shortName): "https://bowtie.report/badges/\($info.language)-\($info.name)/compliance/\(.shortName).json"
(.uri): "https://bowtie.report/badges/\($info.language)-\($info.name)/compliance/\(.shortName).json"
}
) | add
)
Expand Down
6 changes: 3 additions & 3 deletions bowtie/schemas/api/v1/json-schema-org/implementations.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,20 +32,20 @@
"type": "string",
"format": "uri"
},
"dialects_compliance": {
"compliance": {
"type": "object",
"propertyNames": {
"readOnly": true,
"type": "string",
"pattern": "[a-z]+[a-z0-9-]*"
"format": "uri"
},
"additionalProperties": {
"type": "string",
"format": "uri"
}
}
},
"required": ["supported_versions", "dialects_compliance"],
"required": ["supported_versions", "compliance"],
"additionalProperties": false
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,20 +32,20 @@
"type": "string",
"format": "uri"
},
"dialects_compliance": {
"compliance": {
"type": "object",
"propertyNames": {
"readOnly": true,
"type": "string",
"pattern": "[a-z]+[a-z0-9-]*"
"format": "uri"
},
"additionalProperties": {
"type": "string",
"format": "uri"
}
}
},
"required": ["supported_versions", "dialects_compliance"],
"required": ["supported_versions", "compliance"],
"additionalProperties": false
}
},
Expand Down

0 comments on commit d941dda

Please sign in to comment.