{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://lists.metix.ai/schema/ledger-team-growth-1.0.json",
  "title": "Metix AI ledger: engineering team growth 1.0",
  "description": "Measured AI companies ranked by growth in mapped technical staff between window_start and team_as_of. Counts are public profiles with a dated role and are lower than headcount. universe records how candidates were chosen and why measured companies were dropped. history has 24 monthly counts of technical staff ending at team_as_of. sources names previous employers of technical joiners with at least floor people.",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "schema_version": {
      "const": "1.0"
    },
    "kind": {
      "const": "team-growth"
    },
    "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-team-growth-1.0.json"
    },
    "universe": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "min_employees": {
          "type": "integer",
          "minimum": 0
        },
        "max_employees": {
          "type": "integer",
          "minimum": 0
        },
        "min_last_round_usd": {
          "type": "integer",
          "minimum": 0
        },
        "last_round_since": {
          "type": "string",
          "format": "date"
        },
        "candidates": {
          "type": "integer",
          "minimum": 0
        },
        "industries": {
          "type": "array",
          "minItems": 1,
          "items": {
            "type": "string",
            "minLength": 1
          }
        },
        "matching_companies": {
          "type": "integer",
          "minimum": 0
        },
        "measured": {
          "type": "integer",
          "minimum": 0
        },
        "dropped": {
          "type": "object"
        },
        "min_technical_base": {
          "type": "integer",
          "minimum": 0
        },
        "min_technical_share": {
          "type": "number"
        }
      },
      "required": [
        "min_employees",
        "max_employees",
        "min_last_round_usd",
        "last_round_since",
        "candidates",
        "industries",
        "matching_companies",
        "measured",
        "dropped",
        "min_technical_base",
        "min_technical_share"
      ]
    },
    "rows": {
      "type": "array",
      "minItems": 1,
      "maxItems": 100,
      "items": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1
          },
          "rank": {
            "type": "integer",
            "minimum": 1,
            "maximum": 100
          },
          "company": {
            "type": "string",
            "minLength": 1
          },
          "website": {
            "type": "string",
            "pattern": "^(?:https://.+)?$"
          },
          "hq": {
            "type": "string"
          },
          "industry": {
            "type": "string"
          },
          "founded_year": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 0
              },
              {
                "type": "null"
              }
            ]
          },
          "technical_12m_ago": {
            "type": "integer",
            "minimum": 20
          },
          "technical": {
            "type": "integer",
            "minimum": 0
          },
          "technical_growth_pct": {
            "type": "number"
          },
          "technical_added": {
            "type": "integer",
            "minimum": 1
          },
          "joined_technical_12m": {
            "type": "integer",
            "minimum": 0
          },
          "left_technical_12m": {
            "type": "integer",
            "minimum": 0
          },
          "staff": {
            "type": "integer",
            "minimum": 0
          },
          "staff_12m_ago": {
            "type": "integer",
            "minimum": 0
          },
          "technical_share": {
            "type": "number"
          },
          "history": {
            "type": "array",
            "minItems": 24,
            "maxItems": 24,
            "items": {
              "type": "integer",
              "minimum": 0
            }
          },
          "sources": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": false,
              "properties": {
                "name": {
                  "type": "string",
                  "minLength": 1
                },
                "people": {
                  "type": "integer",
                  "minimum": 3
                }
              },
              "required": [
                "name",
                "people"
              ]
            }
          },
          "active_postings": {
            "type": "integer",
            "minimum": 0
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            }
          }
        },
        "required": [
          "id",
          "rank",
          "company",
          "website",
          "hq",
          "industry",
          "founded_year",
          "technical_12m_ago",
          "technical",
          "technical_growth_pct",
          "technical_added",
          "joined_technical_12m",
          "left_technical_12m",
          "staff",
          "staff_12m_ago",
          "technical_share",
          "history",
          "sources",
          "active_postings",
          "tags"
        ]
      }
    }
  },
  "required": [
    "schema_version",
    "kind",
    "slug",
    "title",
    "collected",
    "updated",
    "team_as_of",
    "window_start",
    "postings_as_of",
    "floor",
    "url",
    "source",
    "methodology",
    "$schema",
    "universe",
    "rows"
  ]
}
