diff --git a/.github/workflows/report.yml b/.github/workflows/report.yml index fe988cffe..c32564562 100644 --- a/.github/workflows/report.yml +++ b/.github/workflows/report.yml @@ -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 ) diff --git a/bowtie/schemas/api/v1/json-schema-org/implementations.json b/bowtie/schemas/api/v1/json-schema-org/implementations.json index d47b4b605..90a803ac5 100644 --- a/bowtie/schemas/api/v1/json-schema-org/implementations.json +++ b/bowtie/schemas/api/v1/json-schema-org/implementations.json @@ -32,12 +32,12 @@ "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", @@ -45,7 +45,7 @@ } } }, - "required": ["supported_versions", "dialects_compliance"], + "required": ["supported_versions", "compliance"], "additionalProperties": false } }, diff --git a/bowtie/tests/fauxmplementations/lintsonschema/schemas/api/v1/json-schema-org/implementations.json b/bowtie/tests/fauxmplementations/lintsonschema/schemas/api/v1/json-schema-org/implementations.json index d47b4b605..90a803ac5 100644 --- a/bowtie/tests/fauxmplementations/lintsonschema/schemas/api/v1/json-schema-org/implementations.json +++ b/bowtie/tests/fauxmplementations/lintsonschema/schemas/api/v1/json-schema-org/implementations.json @@ -32,12 +32,12 @@ "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", @@ -45,7 +45,7 @@ } } }, - "required": ["supported_versions", "dialects_compliance"], + "required": ["supported_versions", "compliance"], "additionalProperties": false } },