{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://objectsgrid.com/.well-known/objects-catalog/Organization/v1/schema.json",
  "title": "Organization",
  "description": "Objects Grid Organization Object. Modeled in compliance with https://schema.org/Organization.",
  "type": "object",
  "properties": {
    "at_context": {
      "description": "Schema context",
      "type": [
        "string",
        "null"
      ],
      "enum": [
        "https://schema.org"
      ]
    },
    "at_type": {
      "description": "The object type",
      "type": [
        "string",
        "null"
      ],
      "enum": [
        "Organization"
      ]
    },
    "at_id": {
      "description": "This Organization's ObjectsGrid URL, https://apis.objectsgrid.com/<path>/<id>: its JSON-LD @id, which References point to. Set by the service.",
      "type": [
        "string",
        "null"
      ],
      "format": "uri",
      "readOnly": true
    },
    "id": {
      "description": "The unique identifier for Organization",
      "type": [
        "string",
        "null"
      ],
      "minLength": 0,
      "maxLength": 50
    },
    "alternateName": {
      "description": "Organization alternate name",
      "type": [
        "string",
        "null"
      ],
      "minLength": 0,
      "maxLength": 100
    },
    "identifier": {
      "description": "The unique identifier for Organization",
      "type": [
        "string",
        "null"
      ],
      "minLength": 0,
      "maxLength": 50
    },
    "image": {
      "description": "image URL",
      "type": [
        "string",
        "null"
      ],
      "minLength": 0,
      "format": "uri"
    },
    "name": {
      "description": "The Organization Name",
      "type": "array",
      "items": {
        "$ref": "https://objectsgrid.com/.well-known/objects-catalog/LanguageTaggedString/v1/schema.json"
      },
      "minItems": 1
    },
    "description": {
      "description": "The Organization Description",
      "type": "array",
      "items": {
        "$ref": "https://objectsgrid.com/.well-known/objects-catalog/LanguageTaggedString/v1/schema.json"
      }
    },
    "sameAs": {
      "description": "The Organization sameAs",
      "type": "array",
      "items": {
        "type": "string",
        "format": "uri"
      }
    },
    "url": {
      "description": "This Organization URL",
      "type": [
        "string",
        "null"
      ],
      "format": "uri",
      "minLength": 1
    },
    "address": {
      "description": "The postal address of the organization",
      "anyOf": [
        {
          "$ref": "https://objectsgrid.com/.well-known/objects-catalog/PostalAddress/v1/schema.json"
        },
        {
          "type": "null"
        }
      ]
    },
    "brand": {
      "description": "Brand URL",
      "x-objectsgrid-rangeIncludes": [
        "Brand",
        "Organization"
      ],
      "anyOf": [
        {
          "$ref": "https://objectsgrid.com/.well-known/objects-catalog/Reference/v1/schema.json"
        },
        {
          "type": "null"
        }
      ]
    },
    "contactPoint": {
      "type": "array",
      "items": {
        "anyOf": [
          {
            "$ref": "https://objectsgrid.com/.well-known/objects-catalog/ContactPoint/v1/schema.json"
          },
          {
            "type": "null"
          }
        ]
      }
    },
    "department": {
      "description": "This Organization Department. Computed, read-only: the objects whose Organization.parentOrganization points to this object, listed from that type; never stored or written.",
      "x-objectsgrid-inverseOf": "Organization.parentOrganization",
      "readOnly": true
    },
    "dissolutionDate": {
      "description": "This Organization dissolution date",
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "minLength": 17,
      "maxLength": 37,
      "examples": [
        "2025-10-06T07:00Z",
        "2025-10-06T07:00:00Z",
        "2025-07-13T19:16:59.191853-07:00"
      ]
    },
    "duns": {
      "description": "This Organization DUNS number",
      "type": [
        "string",
        "null"
      ]
    },
    "email": {
      "type": [
        "string",
        "null"
      ],
      "format": "email"
    },
    "founder": {
      "x-objectsgrid-erasure": "keep",
      "description": "The Organization founder(s)",
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": "string"
      }
    },
    "foundingDate": {
      "description": "This Organization founding date",
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "minLength": 17,
      "maxLength": 37,
      "examples": [
        "2025-10-06T07:00Z",
        "2025-10-06T07:00:00Z",
        "2025-07-13T19:16:59.191853-07:00"
      ]
    },
    "globalLocationNumber": {
      "description": "This Organization Global Location Number",
      "type": [
        "string",
        "null"
      ]
    },
    "hasGS1DigitalLink": {
      "description": "This Organization GS1 Digital Link",
      "type": [
        "string",
        "null"
      ]
    },
    "hasOfferCatalog": {
      "description": "The Organization Offer Catalogs",
      "x-objectsgrid-rangeIncludes": [
        "OfferCatalog"
      ],
      "type": [
        "array",
        "null"
      ],
      "items": {
        "$ref": "https://objectsgrid.com/.well-known/objects-catalog/Reference/v1/schema.json"
      }
    },
    "hasMerchantReturnPolicy": {
      "description": "The shop's return policies, for every Offer and Product without its own",
      "x-objectsgrid-rangeIncludes": [
        "MerchantReturnPolicy"
      ],
      "type": [
        "array",
        "null"
      ],
      "items": {
        "$ref": "https://objectsgrid.com/.well-known/objects-catalog/Reference/v1/schema.json"
      },
      "maxItems": 20
    },
    "hasShippingService": {
      "description": "The shop's shipping services",
      "x-objectsgrid-rangeIncludes": [
        "ShippingService"
      ],
      "type": [
        "array",
        "null"
      ],
      "items": {
        "$ref": "https://objectsgrid.com/.well-known/objects-catalog/Reference/v1/schema.json"
      },
      "maxItems": 20
    },
    "makesOffer": {
      "description": "The Offers the Organization makes. Computed, read-only: the objects whose Offer.offeredBy points to this object, listed from that type; never stored or written.",
      "x-objectsgrid-inverseOf": "Offer.offeredBy",
      "readOnly": true
    },
    "hasMemberProgram": {
      "description": "The member programs the Organization runs. Computed, read-only: the objects whose MemberProgram.hostingOrganization points to this object, listed from that type; never stored or written.",
      "x-objectsgrid-inverseOf": "MemberProgram.hostingOrganization",
      "readOnly": true
    },
    "isicV4": {
      "description": "This Organization isicV4",
      "type": [
        "string",
        "null"
      ]
    },
    "iso6523Code": {
      "description": "This Organization iso6523 Code",
      "type": [
        "string",
        "null"
      ]
    },
    "legalAddress": {
      "description": "The legal address of the organization",
      "anyOf": [
        {
          "$ref": "https://objectsgrid.com/.well-known/objects-catalog/PostalAddress/v1/schema.json"
        },
        {
          "type": "null"
        }
      ]
    },
    "legalName": {
      "description": "This Organization legal name",
      "type": [
        "string",
        "null"
      ]
    },
    "leiCode": {
      "description": "This Organization lei Code",
      "type": [
        "string",
        "null"
      ]
    },
    "logo": {
      "description": "The Organization logo",
      "type": [
        "string",
        "null"
      ],
      "format": "uri"
    },
    "member": {
      "description": "The Organization Members. Computed, read-only: the objects whose Person.memberOf and Organization.memberOf points to this object, listed from that type; never stored or written.",
      "x-objectsgrid-inverseOf": [
        "Person.memberOf",
        "Organization.memberOf"
      ],
      "readOnly": true
    },
    "memberOf": {
      "description": "The Organizations URLs this Organization is a Member of",
      "x-objectsgrid-rangeIncludes": [
        "Organization"
      ],
      "type": [
        "array",
        "null"
      ],
      "items": {
        "$ref": "https://objectsgrid.com/.well-known/objects-catalog/Reference/v1/schema.json"
      }
    },
    "naics": {
      "description": "This Organization naics Code",
      "type": [
        "string",
        "null"
      ]
    },
    "parentOrganization": {
      "description": "This Organization parent Organization URL",
      "x-objectsgrid-rangeIncludes": [
        "Organization"
      ],
      "anyOf": [
        {
          "$ref": "https://objectsgrid.com/.well-known/objects-catalog/Reference/v1/schema.json"
        },
        {
          "type": "null"
        }
      ]
    },
    "review": {
      "description": "The Organizations Reviews URLs. Computed, read-only: the objects whose Review.itemReviewed points to this object, listed from that type; never stored or written.",
      "x-objectsgrid-inverseOf": "Review.itemReviewed",
      "readOnly": true
    },
    "slogan": {
      "description": "The Organization slogan",
      "type": [
        "array",
        "null"
      ],
      "items": {
        "$ref": "https://objectsgrid.com/.well-known/objects-catalog/LanguageTaggedString/v1/schema.json"
      }
    },
    "taxID": {
      "description": "This Organization taxID",
      "type": [
        "string",
        "null"
      ]
    },
    "telephone": {
      "description": "The Organization telephone",
      "type": [
        "string",
        "null"
      ],
      "minLength": 1,
      "maxLength": 20
    },
    "vatID": {
      "description": "This Organization vatID",
      "type": [
        "string",
        "null"
      ]
    },
    "tags": {
      "description": "Tags an ABAC policy can decide on. A name may repeat; the same name and value appear once. Every stored object has them: created empty when not sent, kept by a replacement (PUT) that does not mention them, unchanged by a patch that does not mention them, cleared by null or [].",
      "type": "array",
      "default": [],
      "uniqueItems": true,
      "maxItems": 50,
      "items": {
        "$ref": "https://objectsgrid.com/.well-known/objects-catalog/Tag/v1/schema.json"
      }
    },
    "additionalType": {
      "description": "The kind of organization, a Schema.org subtype of Organization (PerformingGroup, SportsTeam, NGO...): its JSON-LD @type. None for an Organization.",
      "anyOf": [
        {
          "type": "string",
          "enum": [
            "PerformingGroup",
            "MusicGroup",
            "DanceGroup",
            "TheaterGroup",
            "SportsOrganization",
            "SportsTeam",
            "NGO",
            "Corporation",
            "EducationalOrganization",
            "MedicalOrganization",
            "GovernmentOrganization",
            "NewsMediaOrganization"
          ]
        },
        {
          "type": "null"
        }
      ]
    },
    "sport": {
      "description": "SportsOrganization, SportsTeam: the sport, e.g. 'Football', or a Wikipedia URL",
      "type": [
        "string",
        "null"
      ],
      "maxLength": 200
    },
    "areaServed": {
      "description": "The areas where the organization works: a name (text, e.g. 'Berlin'), a GeoCircle (a radius around a point) or a GeoShape, each with its at_type. Stored and returned, not searchable.",
      "type": [
        "array",
        "null"
      ],
      "maxItems": 50,
      "items": {
        "anyOf": [
          {
            "type": "string",
            "minLength": 1,
            "maxLength": 100
          },
          {
            "$ref": "https://objectsgrid.com/.well-known/objects-catalog/GeoCircle/v1/schema.json"
          },
          {
            "$ref": "https://objectsgrid.com/.well-known/objects-catalog/GeoShape/v1/schema.json"
          }
        ]
      }
    }
  },
  "required": [
    "name"
  ],
  "allOf": [
    {
      "if": {
        "required": [
          "additionalType"
        ],
        "properties": {
          "additionalType": {
            "enum": [
              "SportsOrganization",
              "SportsTeam"
            ]
          }
        }
      },
      "else": {
        "not": {
          "anyOf": [
            {
              "required": [
                "sport"
              ]
            }
          ]
        }
      }
    }
  ]
}
