Files
medusa-store/www/apps/api-reference/specs/admin/components/schemas/AdminGeoZone.yaml
Shahed Nasser a3bdb3e383 docs: generate OAS with events (#12394)
* docs: generate OAS with events

* small change
2025-05-07 14:57:03 +03:00

61 lines
1.3 KiB
YAML

type: object
description: The geo zone's geo zones.
x-schemaName: AdminGeoZone
required:
- id
- type
- country_code
- province_code
- city
- postal_expression
- created_at
- updated_at
- deleted_at
properties:
id:
type: string
title: id
description: The geo zone's ID.
type:
type: string
description: The geo zone's type.
enum:
- country
- province
- city
- zip
country_code:
type: string
title: country_code
description: The geo zone's country code.
province_code:
type: string
title: province_code
description: The geo zone's lower-case ISO 3166-2 province code.
example: us-ca
externalDocs:
url: https://en.wikipedia.org/wiki/ISO_3166-2
description: Learn more about ISO 3166-2
city:
type: string
title: city
description: The geo zone's city.
postal_expression:
type: object
description: The geo zone's postal expression.
created_at:
type: string
format: date-time
title: created_at
description: The geo zone's created at.
updated_at:
type: string
format: date-time
title: updated_at
description: The geo zone's updated at.
deleted_at:
type: string
format: date-time
title: deleted_at
description: The geo zone's deleted at.