diff --git a/content_schemas/dist/formats/finder/frontend/schema.json b/content_schemas/dist/formats/finder/frontend/schema.json index 780924eba..a1b472286 100644 --- a/content_schemas/dist/formats/finder/frontend/schema.json +++ b/content_schemas/dist/formats/finder/frontend/schema.json @@ -403,7 +403,7 @@ "description": "Possible values to show for non-dynamic select facets. All values are shown regardless of the search.", "type": "array", "items": { - "$ref": "#/definitions/label_value_pair_with_sub_facets" + "$ref": "#/definitions/label_value_pair" } }, "closed_value": { @@ -839,44 +839,6 @@ } } }, - "label_value_pair_with_sub_facets": { - "description": "One of many possible values a user can select from", - "type": "object", - "required": [ - "label", - "value" - ], - "additionalProperties": false, - "properties": { - "default": { - "description": "The default option for a radio facet", - "type": "boolean" - }, - "label": { - "description": "A human readable label", - "type": "string" - }, - "main_facet_label": { - "description": "A label that refers to the main facet label of this facet if it is a sub facet. The label is used to generate sub facet labels on frontend apps.", - "type": "string" - }, - "main_facet_value": { - "description": "A value that refers to the main facet value of this facet if it is a sub facet. The value is used to group sub facets into sub category groupings for navigational purposes.", - "type": "string" - }, - "sub_facets": { - "description": "Possible values to show for non-dynamic select nested facets. All values are shown regardless of the search.", - "type": "array", - "items": { - "$ref": "#/definitions/label_value_pair" - } - }, - "value": { - "description": "A value to use for form controls", - "type": "string" - } - } - }, "locale": { "type": "string", "enum": [ diff --git a/content_schemas/dist/formats/finder/notification/schema.json b/content_schemas/dist/formats/finder/notification/schema.json index 571aa36a1..b859b9af7 100644 --- a/content_schemas/dist/formats/finder/notification/schema.json +++ b/content_schemas/dist/formats/finder/notification/schema.json @@ -503,7 +503,7 @@ "description": "Possible values to show for non-dynamic select facets. All values are shown regardless of the search.", "type": "array", "items": { - "$ref": "#/definitions/label_value_pair_with_sub_facets" + "$ref": "#/definitions/label_value_pair" } }, "closed_value": { @@ -952,44 +952,6 @@ } } }, - "label_value_pair_with_sub_facets": { - "description": "One of many possible values a user can select from", - "type": "object", - "required": [ - "label", - "value" - ], - "additionalProperties": false, - "properties": { - "default": { - "description": "The default option for a radio facet", - "type": "boolean" - }, - "label": { - "description": "A human readable label", - "type": "string" - }, - "main_facet_label": { - "description": "A label that refers to the main facet label of this facet if it is a sub facet. The label is used to generate sub facet labels on frontend apps.", - "type": "string" - }, - "main_facet_value": { - "description": "A value that refers to the main facet value of this facet if it is a sub facet. The value is used to group sub facets into sub category groupings for navigational purposes.", - "type": "string" - }, - "sub_facets": { - "description": "Possible values to show for non-dynamic select nested facets. All values are shown regardless of the search.", - "type": "array", - "items": { - "$ref": "#/definitions/label_value_pair" - } - }, - "value": { - "description": "A value to use for form controls", - "type": "string" - } - } - }, "locale": { "type": "string", "enum": [ diff --git a/content_schemas/dist/formats/finder/publisher_v2/schema.json b/content_schemas/dist/formats/finder/publisher_v2/schema.json index 63a369786..790dff6ab 100644 --- a/content_schemas/dist/formats/finder/publisher_v2/schema.json +++ b/content_schemas/dist/formats/finder/publisher_v2/schema.json @@ -291,7 +291,7 @@ "description": "Possible values to show for non-dynamic select facets. All values are shown regardless of the search.", "type": "array", "items": { - "$ref": "#/definitions/label_value_pair_with_sub_facets" + "$ref": "#/definitions/label_value_pair" } }, "closed_value": { @@ -601,44 +601,6 @@ } } }, - "label_value_pair_with_sub_facets": { - "description": "One of many possible values a user can select from", - "type": "object", - "required": [ - "label", - "value" - ], - "additionalProperties": false, - "properties": { - "default": { - "description": "The default option for a radio facet", - "type": "boolean" - }, - "label": { - "description": "A human readable label", - "type": "string" - }, - "main_facet_label": { - "description": "A label that refers to the main facet label of this facet if it is a sub facet. The label is used to generate sub facet labels on frontend apps.", - "type": "string" - }, - "main_facet_value": { - "description": "A value that refers to the main facet value of this facet if it is a sub facet. The value is used to group sub facets into sub category groupings for navigational purposes.", - "type": "string" - }, - "sub_facets": { - "description": "Possible values to show for non-dynamic select nested facets. All values are shown regardless of the search.", - "type": "array", - "items": { - "$ref": "#/definitions/label_value_pair" - } - }, - "value": { - "description": "A value to use for form controls", - "type": "string" - } - } - }, "locale": { "type": "string", "enum": [ diff --git a/content_schemas/formats/shared/definitions/finder.jsonnet b/content_schemas/formats/shared/definitions/finder.jsonnet index bde561295..44a80e719 100644 --- a/content_schemas/formats/shared/definitions/finder.jsonnet +++ b/content_schemas/formats/shared/definitions/finder.jsonnet @@ -223,7 +223,7 @@ description: "Possible values to show for non-dynamic select facets. All values are shown regardless of the search.", type: "array", items: { - "$ref": "#/definitions/label_value_pair_with_sub_facets", + "$ref": "#/definitions/label_value_pair", }, }, option_lookup: { diff --git a/content_schemas/formats/shared/definitions/label_value_pair_with_sub_facets.jsonnet b/content_schemas/formats/shared/definitions/label_value_pair_with_sub_facets.jsonnet deleted file mode 100644 index cb384ab2c..000000000 --- a/content_schemas/formats/shared/definitions/label_value_pair_with_sub_facets.jsonnet +++ /dev/null @@ -1,40 +0,0 @@ -{ - label_value_pair_with_sub_facets: { - description: "One of many possible values a user can select from", - type: "object", - additionalProperties: false, - required: [ - "label", - "value", - ], - properties: { - label: { - description: "A human readable label", - type: "string", - }, - value: { - description: "A value to use for form controls", - type: "string", - }, - main_facet_label: { - description: "A label that refers to the main facet label of this facet if it is a sub facet. The label is used to generate sub facet labels on frontend apps.", - type: "string", - }, - main_facet_value: { - description: "A value that refers to the main facet value of this facet if it is a sub facet. The value is used to group sub facets into sub category groupings for navigational purposes.", - type: "string", - }, - sub_facets: { - description: "Possible values to show for non-dynamic select nested facets. All values are shown regardless of the search.", - type: "array", - items: { - "$ref": "#/definitions/label_value_pair", - }, - }, - default: { - description: "The default option for a radio facet", - type: "boolean" - } - }, - }, -}