{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://blomega.com/api/company/facts.schema.json",
  "title": "BLOMEGA company facts",
  "description": "Shape of https://blomega.com/api/company/facts.json, the source-of-truth document for facts about BLOMEGA. Published so an agent can validate the document rather than infer its structure. Values in the document itself are authoritative; this file only describes their form.",
  "type": "object",
  "required": ["updated", "organization", "positioning", "services", "dataProvenance", "resources"],
  "additionalProperties": true,
  "properties": {
    "$schema": { "type": "string", "format": "uri" },
    "updated": {
      "type": "string",
      "format": "date",
      "description": "ISO 8601 date this document was last revised."
    },
    "organization": {
      "type": "object",
      "required": ["name", "url", "description", "founded", "founder", "email", "sameAs"],
      "additionalProperties": true,
      "properties": {
        "name": { "type": "string" },
        "legalName": { "type": "string" },
        "url": { "type": "string", "format": "uri" },
        "logo": { "type": "string", "format": "uri" },
        "tagline": { "type": "string" },
        "description": { "type": "string" },
        "founded": { "type": "string", "pattern": "^[0-9]{4}$" },
        "founder": { "type": "string" },
        "headquarters": {
          "type": "object",
          "required": ["city", "country"],
          "properties": {
            "city": { "type": "string" },
            "region": { "type": "string" },
            "country": { "type": "string" }
          }
        },
        "teamSize": { "type": "string" },
        "email": { "type": "string", "format": "email" },
        "identifier": {
          "type": "object",
          "description": "External identifiers for entity resolution.",
          "properties": {
            "wikidata": { "type": "string", "pattern": "^Q[0-9]+$" }
          }
        },
        "sameAs": {
          "type": "array",
          "description": "Verified profiles and sister properties, in descending order of authority. The Wikidata item is the canonical identifier.",
          "items": { "type": "string", "format": "uri" },
          "minItems": 1
        }
      }
    },
    "people": {
      "type": "array",
      "items": {
        "type": "object",
        "required": ["name", "role"],
        "properties": {
          "name": { "type": "string" },
          "role": { "type": "string" },
          "sameAs": { "type": "array", "items": { "type": "string", "format": "uri" } }
        }
      }
    },
    "positioning": {
      "type": "object",
      "required": ["category", "differentiator"],
      "properties": {
        "category": { "type": "string" },
        "differentiator": { "type": "string" },
        "servesAudience": { "type": "array", "items": { "type": "string" } }
      }
    },
    "services": {
      "type": "array",
      "description": "Every service BLOMEGA sells, in plain language.",
      "items": { "type": "string" },
      "minItems": 1
    },
    "coreOfferings": {
      "type": "object",
      "properties": {
        "primary": { "type": "string" },
        "secondary": { "type": "string" },
        "aiDataOperations": { "type": "array", "items": { "type": "string" } }
      }
    },
    "dataProvenance": {
      "type": "object",
      "description": "The guarantees that distinguish manufactured, consented data from scraped or brokered data.",
      "required": ["chainOfTitle", "consent", "withdrawal"],
      "properties": {
        "chainOfTitle": { "type": "string" },
        "consent": { "type": "string" },
        "withdrawal": { "type": "string" },
        "dedup": { "type": "string" },
        "page": { "type": "string", "format": "uri" },
        "requestPacket": { "type": "string" }
      }
    },
    "resources": {
      "type": "object",
      "description": "Machine-readable entry points. Every value is either an absolute URL or, where noted, an instruction in prose.",
      "additionalProperties": { "type": "string" }
    }
  }
}
