{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://lists.metix.ai/schema/ledger-ai-labs-1.0.json",
  "title": "Metix AI ledger: AI labs 1.0",
  "description": "AI labs with a reported valuation and the team that public profiles map to each. valuation holds a figure reported by a third party, its basis and the page that supports it. team, growth and history are null when team figures are withheld, and team_withheld gives the reason; mapped_profiles gives the count either way. Mapped staff is lower than headcount; calibration lists headcounts that companies stated near the snapshot month next to the mapped figure. history has 24 monthly counts ending at team_as_of. sources, destinations and tracked_labs only name an employer with at least floor people. edge is null unless a listed lab trains its own models but mainly sells something else, and then it holds the reason. evaluated_not_listed names companies that were checked and left out, and scope_gap says which kinds of company were not checked.",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "schema_version": {
      "const": "1.0"
    },
    "kind": {
      "const": "ai-labs"
    },
    "slug": {
      "type": "string",
      "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$"
    },
    "title": {
      "type": "string",
      "minLength": 1
    },
    "collected": {
      "type": "string",
      "format": "date"
    },
    "updated": {
      "type": "string",
      "format": "date"
    },
    "team_as_of": {
      "type": "string",
      "format": "date"
    },
    "window_start": {
      "type": "string",
      "format": "date"
    },
    "postings_as_of": {
      "type": "string",
      "format": "date"
    },
    "floor": {
      "const": 3
    },
    "url": {
      "type": "string",
      "format": "uri"
    },
    "source": {
      "type": "string",
      "minLength": 1
    },
    "methodology": {
      "type": "string",
      "format": "uri"
    },
    "$schema": {
      "const": "https://lists.metix.ai/schema/ledger-ai-labs-1.0.json"
    },
    "valuations_checked": {
      "type": "string",
      "format": "date"
    },
    "min_mapped": {
      "type": "integer",
      "minimum": 0
    },
    "min_technical": {
      "type": "integer",
      "minimum": 0
    },
    "inclusion": {
      "type": "string",
      "minLength": 1
    },
    "scope_gap": {
      "type": "string"
    },
    "evaluated_not_listed": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1
          },
          "reason": {
            "type": "string",
            "minLength": 1
          },
          "rule": {
            "enum": [
              "not_a_lab",
              "valuation"
            ]
          }
        },
        "required": [
          "name",
          "reason",
          "rule"
        ]
      }
    },
    "calibration": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1
          },
          "stated_people": {
            "type": "integer",
            "minimum": 1
          },
          "qualifier": {
            "type": "string"
          },
          "stated_as_of": {
            "type": "string",
            "format": "date"
          },
          "source_name": {
            "type": "string",
            "minLength": 1
          },
          "source_url": {
            "type": "string",
            "format": "uri",
            "pattern": "^https://"
          },
          "quote": {
            "type": "string",
            "minLength": 1
          },
          "mapped_staff": {
            "type": "integer",
            "minimum": 0
          },
          "mapped_share_pct": {
            "type": "integer",
            "minimum": 0
          }
        },
        "required": [
          "name",
          "stated_people",
          "qualifier",
          "stated_as_of",
          "source_name",
          "source_url",
          "quote",
          "mapped_staff",
          "mapped_share_pct"
        ]
      }
    },
    "rows": {
      "type": "array",
      "minItems": 1,
      "items": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1
          },
          "rank": {
            "type": "integer",
            "minimum": 1
          },
          "name": {
            "type": "string",
            "minLength": 1
          },
          "website": {
            "type": "string",
            "pattern": "^(?:https://.+)?$"
          },
          "focus": {
            "type": "string",
            "minLength": 1
          },
          "founded_year": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 0
              },
              {
                "type": "null"
              }
            ]
          },
          "hq": {
            "type": "string"
          },
          "valuation": {
            "anyOf": [
              {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "usd_b": {
                    "type": "number"
                  },
                  "display": {
                    "type": "string",
                    "minLength": 1
                  },
                  "basis": {
                    "enum": [
                      "closed_round",
                      "reported",
                      "acquisition",
                      "public_market",
                      "estimate"
                    ]
                  },
                  "date": {
                    "type": "string",
                    "pattern": "^\\d{4}-\\d{2}(?:-\\d{2})?$"
                  },
                  "round": {
                    "anyOf": [
                      {
                        "type": "string",
                        "minLength": 1
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "source_name": {
                    "type": "string",
                    "minLength": 1
                  },
                  "source_url": {
                    "type": "string",
                    "format": "uri",
                    "pattern": "^https://"
                  },
                  "quote": {
                    "type": "string",
                    "minLength": 1
                  },
                  "note": {
                    "type": "string"
                  },
                  "currency_note": {
                    "anyOf": [
                      {
                        "type": "string",
                        "minLength": 1
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "status": {
                    "enum": [
                      "independent",
                      "acquired",
                      "acquisition_pending",
                      "acqui_hired",
                      "public",
                      "unknown"
                    ]
                  },
                  "status_note": {
                    "type": "string"
                  },
                  "confidence": {
                    "enum": [
                      "high",
                      "medium",
                      "low"
                    ]
                  },
                  "last_closed": {
                    "anyOf": [
                      {
                        "type": "object",
                        "additionalProperties": false,
                        "properties": {
                          "usd_b": {
                            "type": "number"
                          },
                          "display": {
                            "type": "string",
                            "minLength": 1
                          },
                          "date": {
                            "type": "string",
                            "pattern": "^\\d{4}-\\d{2}(?:-\\d{2})?$"
                          },
                          "round": {
                            "anyOf": [
                              {
                                "type": "string",
                                "minLength": 1
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "source_url": {
                            "type": "string",
                            "format": "uri",
                            "pattern": "^https://"
                          }
                        },
                        "required": [
                          "usd_b",
                          "display",
                          "date",
                          "round",
                          "source_url"
                        ]
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "usd_b",
                  "display",
                  "basis",
                  "date",
                  "round",
                  "source_name",
                  "source_url",
                  "quote",
                  "note",
                  "currency_note",
                  "status",
                  "status_note",
                  "confidence",
                  "last_closed"
                ]
              },
              {
                "type": "null"
              }
            ]
          },
          "reference": {
            "type": "boolean"
          },
          "edge": {
            "anyOf": [
              {
                "type": "string",
                "minLength": 1
              },
              {
                "type": "null"
              }
            ]
          },
          "note": {
            "type": "string"
          },
          "team": {
            "anyOf": [
              {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "staff": {
                    "type": "integer",
                    "minimum": 0
                  },
                  "technical": {
                    "type": "integer",
                    "minimum": 0
                  },
                  "research_titles": {
                    "type": "integer",
                    "minimum": 0
                  },
                  "engineering_titles": {
                    "type": "integer",
                    "minimum": 0
                  },
                  "technical_share": {
                    "type": "number"
                  }
                },
                "required": [
                  "staff",
                  "technical",
                  "research_titles",
                  "engineering_titles",
                  "technical_share"
                ]
              },
              {
                "type": "null"
              }
            ]
          },
          "team_withheld": {
            "enum": [
              null,
              "no_record",
              "under_floor",
              "thin_coverage"
            ]
          },
          "mapped_profiles": {
            "type": "integer",
            "minimum": 0
          },
          "growth": {
            "anyOf": [
              {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "staff_12m_ago": {
                    "type": "integer",
                    "minimum": 0
                  },
                  "staff_growth_pct": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "joined_12m": {
                    "type": "integer",
                    "minimum": 0
                  },
                  "left_12m": {
                    "type": "integer",
                    "minimum": 0
                  }
                },
                "required": [
                  "staff_12m_ago",
                  "staff_growth_pct",
                  "joined_12m",
                  "left_12m"
                ]
              },
              {
                "type": "null"
              }
            ]
          },
          "history": {
            "anyOf": [
              {
                "type": "array",
                "minItems": 24,
                "maxItems": 24,
                "items": {
                  "type": "integer",
                  "minimum": 0
                }
              },
              {
                "type": "null"
              }
            ]
          },
          "sources": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": false,
              "properties": {
                "name": {
                  "type": "string",
                  "minLength": 1
                },
                "people": {
                  "type": "integer",
                  "minimum": 3
                }
              },
              "required": [
                "name",
                "people"
              ]
            }
          },
          "destinations": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": false,
              "properties": {
                "name": {
                  "type": "string",
                  "minLength": 1
                },
                "people": {
                  "type": "integer",
                  "minimum": 3
                }
              },
              "required": [
                "name",
                "people"
              ]
            }
          },
          "tracked_labs": {
            "type": "object",
            "additionalProperties": {
              "type": "integer",
              "minimum": 3
            }
          },
          "from_academia_share": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "active_postings": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 0
              },
              {
                "type": "null"
              }
            ]
          },
          "valuation_per_technical_usd_m": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            }
          }
        },
        "required": [
          "id",
          "rank",
          "name",
          "website",
          "focus",
          "founded_year",
          "hq",
          "valuation",
          "reference",
          "edge",
          "note",
          "team",
          "team_withheld",
          "mapped_profiles",
          "growth",
          "history",
          "sources",
          "destinations",
          "tracked_labs",
          "from_academia_share",
          "active_postings",
          "valuation_per_technical_usd_m",
          "tags"
        ]
      }
    }
  },
  "required": [
    "schema_version",
    "kind",
    "slug",
    "title",
    "collected",
    "updated",
    "team_as_of",
    "window_start",
    "postings_as_of",
    "floor",
    "url",
    "source",
    "methodology",
    "$schema",
    "valuations_checked",
    "min_mapped",
    "min_technical",
    "inclusion",
    "scope_gap",
    "evaluated_not_listed",
    "calibration",
    "rows"
  ]
}
