{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://dpp-keystone.org/spec/validation/v2/json-schema/shared/organization.schema.json",
  "title": "Organization",
  "description": "A general concept for any organization or legal entity involved in the product lifecycle.",
  "type": "object",
  "properties": {
    "organizationName": {
      "type": "string"
    },
    "tradingName": {
      "type": "string"
    },
    "gln": {
      "type": "string"
    },
    "leiCode": {
      "type": "string"
    },
    "eori": {
      "type": "string"
    },
    "additionalOrganizationId": {
      "type": "string"
    },
    "additionalOrganizationIdType": {
      "type": "string"
    },
    "address": {
      "$ref": "postal-address.schema.json"
    },
    "email": {
      "type": "string",
      "format": "email"
    },
    "telephone": {
      "type": "string"
    },
    "website": {
      "type": "string",
      "format": "uri"
    }
  }
}
