{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://poseidat.org/schema/core/persona/company.json",
  "title": "Company",
  "description": "The details of a (commercial) company",
  "properties": {
    "company_id": {
      "description": "The unique identifier for the company (UUID v4)",
      "type": "string",
      "format": "uuid"
    },
    "name": {
      "description": "The name of the company",
      "type": "string"
    },
    "address": {
      "description": "The address of the company",
      "$ref" : "https://poseidat.org/schema/core/address.json"
    },
    "contact": {
      "description": "The contact details of the company",
      "$ref" : "https://poseidat.org/schema/core/contact-details.json"
    }
  },
  "required": [
    "company_id",
    "name"
  ],
  "type": "object",
  "additionalProperties": false
}
