diff --git a/README.md b/README.md index 55a6b54..14ebc26 100644 --- a/README.md +++ b/README.md @@ -306,7 +306,7 @@ interface Link extends Parent { url: string title: string children: Phrasing[] - styleType?: 'onward-journey' + anchorStyle?: 'onward-journey' } ``` diff --git a/content-tree.d.ts b/content-tree.d.ts index 437e6db..8dbc114 100644 --- a/content-tree.d.ts +++ b/content-tree.d.ts @@ -55,7 +55,7 @@ export declare namespace ContentTree { url: string; title: string; children: Phrasing[]; - styleType?: 'onward-journey'; + anchorStyle?: 'onward-journey'; } interface List extends Parent { type: "list"; @@ -382,7 +382,7 @@ export declare namespace ContentTree { url: string; title: string; children: Phrasing[]; - styleType?: 'onward-journey'; + anchorStyle?: 'onward-journey'; } interface List extends Parent { type: "list"; @@ -710,7 +710,7 @@ export declare namespace ContentTree { url: string; title: string; children: Phrasing[]; - styleType?: 'onward-journey'; + anchorStyle?: 'onward-journey'; } interface List extends Parent { type: "list"; @@ -1023,7 +1023,7 @@ export declare namespace ContentTree { url: string; title: string; children: Phrasing[]; - styleType?: 'onward-journey'; + anchorStyle?: 'onward-journey'; } interface List extends Parent { type: "list"; diff --git a/schemas/body-tree.schema.json b/schemas/body-tree.schema.json index d608cab..caeef6a 100644 --- a/schemas/body-tree.schema.json +++ b/schemas/body-tree.schema.json @@ -525,6 +525,10 @@ "ContentTree.transit.Link": { "additionalProperties": false, "properties": { + "anchorStyle": { + "const": "onward-journey", + "type": "string" + }, "children": { "items": { "$ref": "#/definitions/ContentTree.transit.Phrasing" @@ -532,10 +536,6 @@ "type": "array" }, "data": {}, - "styleType": { - "const": "onward-journey", - "type": "string" - }, "title": { "type": "string" }, diff --git a/schemas/content-tree.schema.json b/schemas/content-tree.schema.json index e13a7b6..2a2629a 100644 --- a/schemas/content-tree.schema.json +++ b/schemas/content-tree.schema.json @@ -952,6 +952,10 @@ "ContentTree.full.Link": { "additionalProperties": false, "properties": { + "anchorStyle": { + "const": "onward-journey", + "type": "string" + }, "children": { "items": { "$ref": "#/definitions/ContentTree.full.Phrasing" @@ -959,10 +963,6 @@ "type": "array" }, "data": {}, - "styleType": { - "const": "onward-journey", - "type": "string" - }, "title": { "type": "string" }, diff --git a/schemas/transit-tree.schema.json b/schemas/transit-tree.schema.json index cdd6168..15e1969 100644 --- a/schemas/transit-tree.schema.json +++ b/schemas/transit-tree.schema.json @@ -550,6 +550,10 @@ "ContentTree.transit.Link": { "additionalProperties": false, "properties": { + "anchorStyle": { + "const": "onward-journey", + "type": "string" + }, "children": { "items": { "$ref": "#/definitions/ContentTree.transit.Phrasing" @@ -557,10 +561,6 @@ "type": "array" }, "data": {}, - "styleType": { - "const": "onward-journey", - "type": "string" - }, "title": { "type": "string" },