Files
medusa-store/www/utils/generated/oas-output/schemas/AdminRuleAttributeOption.ts
Shahed Nasser 4923a6e823 chore(oas): [12/n] improve oas schemas (#9200)
- improve OAS schemas [12/n]
- Support ignoring properties in type if it has the `@ignore` jsdoc tag.
2024-09-19 14:25:16 +00:00

37 lines
883 B
TypeScript

/**
* @schema AdminRuleAttributeOption
* type: object
* description: The details of a potential rule attribute.
* x-schemaName: AdminRuleAttributeOption
* required:
* - id
* - value
* - label
* - field_type
* - required
* - operators
* properties:
* id:
* type: string
* title: id
* description: The rule attribute's ID, which is a rule's `attribute` it refers to.
* example: "customer_group"
* value:
* type: string
* title: value
* description: The rule attribute's value.
* example: "customer.groups.id"
* label:
* type: string
* title: label
* description: The rule attribute option's label.
* example: "Customer Group"
* operators:
* type: array
* description: The attribute's operators.
* items:
* $ref: "#/components/schemas/BaseRuleOperatorOptions"
*
*/