diff --git a/api/alternative-schema.json b/api/alternative-schema.json index 54df82dfd5..813043a66a 100644 --- a/api/alternative-schema.json +++ b/api/alternative-schema.json @@ -1,4 +1,12 @@ --- --- -{{ site.alternative-schema | jsonify }} - +{ +{% for page in site.alternative-schema %}"{{ page.slug }}": { + "slug": "{{ page.slug }}", + "title": "{{ page.title }}", + "issue": "{{ page.issue }}", + "description": "{{ page.description }}", + "owner": "{{ page.owner }}" +}{% unless forloop.last %},{% endunless %} +{% endfor %} +} diff --git a/api/draft-feature.json b/api/draft-feature.json index 7663a1fb4c..7ee771d60e 100644 --- a/api/draft-feature.json +++ b/api/draft-feature.json @@ -1,4 +1,12 @@ --- --- -{{ site.draft-feature | jsonify }} - +{ +{% for page in site.draft-feature %}"{{ page.slug }}": { + "slug": "{{ page.slug }}", + "title": "{{ page.title }}", + "issue": "{{ page.issue }}", + "description": "{{ page.description }}", + "owner": "{{ page.owner }}" +}{% unless forloop.last %},{% endunless %} +{% endfor %} +} diff --git a/api/extension.json b/api/extension.json index 54cd4ae033..45b948fdc2 100644 --- a/api/extension.json +++ b/api/extension.json @@ -1,4 +1,14 @@ --- --- -{{ site.extension | jsonify }} - +{ +{% for page in site.extension %}"{{ page.slug }}": { + "slug": "{{ page.slug }}", + "title": "{{ page.title }}", + "issue": "{{ page.issue }}", + "description": "{{ page.description }}", + "owner": "{{ page.owner }}", + "objects": {{ page.objects | jsonify }}, + "schema": {{ page.schema | jsonify }} +}{% unless forloop.last %},{% endunless %} +{% endfor %} +} diff --git a/api/format.json b/api/format.json index 693d349cdc..3f57f3ae6f 100644 --- a/api/format.json +++ b/api/format.json @@ -1,4 +1,13 @@ --- --- -{{ site.format | jsonify }} - +{ +{% for page in site.format %}"{{ page.slug }}": { + "slug": "{{ page.slug }}", + "title": "{{ page.title }}", + "issue": "{{ page.issue }}", + "description": "{{ page.description }}", + "owner": "{{ page.owner }}", + "base_type": "{{ page.base_type" }}" +}{% unless forloop.last %},{% endunless %} +{% endfor %} +} diff --git a/api/registries.json b/api/registries.json index 9507cb0c20..aae5e7149c 100644 --- a/api/registries.json +++ b/api/registries.json @@ -1,4 +1,6 @@ --- --- -{{ site.collections | jsonify }} - +[ +{% for collection in site.collections %}"{{ collection.slug }}"{% unless forloop.last %},{% endunless %} +{% endfor %} +] diff --git a/registries/_alternative-schema/jsonSchema.md b/registries/_alternative-schema/jsonSchema.md index 4858d359d9..6f49ba65f2 100644 --- a/registries/_alternative-schema/jsonSchema.md +++ b/registries/_alternative-schema/jsonSchema.md @@ -1,5 +1,5 @@ --- -owner: darrel_miller +owner: darrelmiller issue: 1532 description: JSON Schema layout: default diff --git a/registries/_alternative-schema/xmlSchema.md b/registries/_alternative-schema/xmlSchema.md index 278585d6d8..f8da45a5e0 100644 --- a/registries/_alternative-schema/xmlSchema.md +++ b/registries/_alternative-schema/xmlSchema.md @@ -1,5 +1,5 @@ --- -owner: darrel_miller +owner: darrelmiller issue: 1532 description: xml Schema layout: default diff --git a/registries/_draft-feature/alternativeSchema.md b/registries/_draft-feature/alternativeSchema.md index 12e3681793..01147f2b40 100644 --- a/registries/_draft-feature/alternativeSchema.md +++ b/registries/_draft-feature/alternativeSchema.md @@ -1,5 +1,5 @@ --- -owner: darrel_miller +owner: darrelmiller issue: 1532 description: x-oas-draft-alternativeSchema diff --git a/registries/_extension/x-twitter.md b/registries/_extension/x-twitter.md index 46ae0c186e..0b05ec9910 100644 --- a/registries/_extension/x-twitter.md +++ b/registries/_extension/x-twitter.md @@ -1,13 +1,10 @@ --- -slug: x-twitter -name: x-twitter -owner: mike_ralphson +owner: MikeRalphson issue: description: Used to hold a reference to the API provider's Twitter account. schema: type: string objects: [ "contactObject" ] - layout: default --- diff --git a/registries/_format/commonmark.md b/registries/_format/commonmark.md index eae36a490e..959b597e2a 100644 --- a/registries/_format/commonmark.md +++ b/registries/_format/commonmark.md @@ -1,7 +1,8 @@ --- -slug: commonmark owner: MikeRalphson description: commonmark-formatted text +base_type: string +issue: layout: default --- @@ -9,7 +10,7 @@ layout: default ## {{ page.slug }} - {{ page.description }} -Base type: `string`. +Base type: `{{ page.base_type }}`. The `{{page.slug}}` format represents [CommonMark](https://commonmark.org/) formatted text. diff --git a/registries/_format/html.md b/registries/_format/html.md index 354de85eb6..49b89db7b0 100644 --- a/registries/_format/html.md +++ b/registries/_format/html.md @@ -1,6 +1,8 @@ --- owner: MikeRalphson description: HTML-formatted text +base_type: string +issue: layout: default --- @@ -8,7 +10,7 @@ layout: default ## {{ page.slug }} - {{ page.description }} -Base type: `string`. +Base type: `{{ page.base_type}}`. The `{{page.slug}}` format represents HTML-formatted text. diff --git a/registries/_format/int8.md b/registries/_format/int8.md index 9c76166894..38524e7a7b 100644 --- a/registries/_format/int8.md +++ b/registries/_format/int8.md @@ -2,6 +2,7 @@ owner: MikeRalphson issue: 845 description: signed 8-bit integer +base_type: number layout: default --- @@ -9,7 +10,7 @@ layout: default ## {{ page.slug }} - {{ page.description }} -Base type: `number`. +Base type: `{{ page.base_type }}`. The `{{page.slug}}` format represents a signed 8-bit integer, with the range -128 to 127. diff --git a/registries/_format/uint8.md b/registries/_format/uint8.md index 9474479519..e9919ab03c 100644 --- a/registries/_format/uint8.md +++ b/registries/_format/uint8.md @@ -2,6 +2,7 @@ owner: MikeRalphson issue: 845 description: unsigned 8-bit integer +base_type: number layout: default --- @@ -9,7 +10,7 @@ layout: default ## {{ page.slug }} - {{ page.description }} -Base type: `number`. +Base type: `{{ page.base_type }}`. The `{{page.slug}}` format represents an unsigned 8-bit integer, with the range 0 to 255.