{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/xestando-com/json-schema/xestando-com-party-draft-v1-schema.json",
  "title": "PartyDraftV1",
  "x-generated": "2026-11-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/xestando-com-openapi.json#/components/schemas/PartyDraftV1",
  "type": "object",
  "properties": {
    "address": {
      "type": "string",
      "maxLength": 300,
      "minLength": 0
    },
    "countryCode": {
      "type": "string",
      "maxLength": 3,
      "minLength": 0
    },
    "email": {
      "type": "string",
      "maxLength": 200,
      "minLength": 0
    },
    "name": {
      "type": "string",
      "maxLength": 200,
      "minLength": 0
    },
    "phone": {
      "type": "string",
      "maxLength": 40,
      "minLength": 0
    },
    "postCode": {
      "type": "string",
      "maxLength": 20,
      "minLength": 0
    },
    "province": {
      "type": "string",
      "maxLength": 100,
      "minLength": 0
    },
    "taxId": {
      "type": "string",
      "maxLength": 30,
      "minLength": 0
    },
    "town": {
      "type": "string",
      "maxLength": 100,
      "minLength": 0
    },
    "tradeName": {
      "type": "string",
      "maxLength": 200,
      "minLength": 0
    }
  },
  "required": [
    "name"
  ]
}