{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://lists.metix.ai/schema/ledger-alumni-startups-1.0.json",
  "title": "Metix AI ledger: lab alumni startups 1.0",
  "description": "Companies where a current founder previously worked at one of the named labs. Founder names, titles and lab roles are public profile fields shown as written and are not confirmed with the company. lab_title is empty when the profile gives no title for the lab role. staff and technical are counts of public profiles at team_as_of and are lower than headcount. history has 24 monthly counts ending at team_as_of.",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "schema_version": {
      "const": "1.0"
    },
    "kind": {
      "const": "alumni-startups"
    },
    "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-alumni-startups-1.0.json"
    },
    "labs": {
      "type": "array",
      "minItems": 1,
      "items": {
        "type": "string",
        "minLength": 1
      }
    },
    "collection": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "by_lab": {
          "type": "object"
        },
        "companies_named": {
          "type": "integer",
          "minimum": 0
        },
        "dropped": {
          "type": "object"
        },
        "min_staff": {
          "type": "integer",
          "minimum": 0
        }
      },
      "required": [
        "by_lab",
        "companies_named",
        "dropped",
        "min_staff"
      ]
    },
    "reported_elsewhere": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "company": {
            "type": "string",
            "minLength": 1
          },
          "founder": {
            "type": "string",
            "minLength": 1
          },
          "lab": {
            "type": "string",
            "minLength": 1
          },
          "source_name": {
            "type": "string",
            "minLength": 1
          },
          "source_url": {
            "type": "string",
            "format": "uri",
            "pattern": "^https://"
          },
          "quote": {
            "type": "string",
            "minLength": 1
          }
        },
        "required": [
          "company",
          "founder",
          "lab",
          "source_name",
          "source_url",
          "quote"
        ]
      }
    },
    "rows": {
      "type": "array",
      "minItems": 1,
      "items": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1
          },
          "rank": {
            "type": "integer",
            "minimum": 1
          },
          "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"
              }
            ]
          },
          "first_founder_role": {
            "type": "string",
            "pattern": "^\\d{4}-\\d{2}$"
          },
          "labs": {
            "type": "array",
            "minItems": 1,
            "items": {
              "type": "string",
              "minLength": 1
            }
          },
          "founders": {
            "type": "array",
            "minItems": 1,
            "items": {
              "type": "object",
              "additionalProperties": false,
              "properties": {
                "name": {
                  "type": "string",
                  "minLength": 1
                },
                "linkedin_url": {
                  "type": "string",
                  "format": "uri",
                  "pattern": "^https://www\\.linkedin\\.com/in/[\\w%.-]+$"
                },
                "title": {
                  "type": "string",
                  "minLength": 1
                },
                "founder_since": {
                  "type": "string",
                  "pattern": "^\\d{4}-\\d{2}$"
                },
                "labs": {
                  "type": "array",
                  "minItems": 1,
                  "items": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "lab_title": {
                  "type": "string"
                },
                "lab_from": {
                  "type": "string",
                  "pattern": "^\\d{4}-\\d{2}$"
                },
                "lab_to": {
                  "type": "string",
                  "pattern": "^\\d{4}-\\d{2}$"
                }
              },
              "required": [
                "name",
                "linkedin_url",
                "title",
                "founder_since",
                "labs",
                "lab_title",
                "lab_from",
                "lab_to"
              ]
            }
          },
          "staff": {
            "type": "integer",
            "minimum": 3
          },
          "technical": {
            "type": "integer",
            "minimum": 0
          },
          "technical_share": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "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
          },
          "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",
          "first_founder_role",
          "labs",
          "founders",
          "staff",
          "technical",
          "technical_share",
          "staff_12m_ago",
          "staff_growth_pct",
          "joined_12m",
          "left_12m",
          "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",
    "labs",
    "collection",
    "reported_elsewhere",
    "rows"
  ]
}
