{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/speedrun-talent-network-com/json-schema/speedrun-talent-network-com-facets-schema.json",
  "title": "Facets",
  "description": "Live counts per filter value, computed against the current query (each group excludes its own filter so the numbers stay honest).",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/speedrun-talent-network-com-openapi.json#/components/schemas/Facets",
  "type": "object",
  "properties": {
    "fn": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "v": {
            "type": "string"
          },
          "n": {
            "type": "integer"
          }
        },
        "required": [
          "v",
          "n"
        ]
      }
    },
    "sen": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "v": {
            "type": "string"
          },
          "n": {
            "type": "integer"
          }
        },
        "required": [
          "v",
          "n"
        ]
      }
    },
    "emp": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "v": {
            "type": "string"
          },
          "n": {
            "type": "integer"
          }
        },
        "required": [
          "v",
          "n"
        ]
      }
    },
    "cohort": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "v": {
            "type": "string"
          },
          "n": {
            "type": "integer"
          }
        },
        "required": [
          "v",
          "n"
        ]
      }
    },
    "portfolio": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "v": {
            "type": "string"
          },
          "n": {
            "type": "integer"
          }
        },
        "required": [
          "v",
          "n"
        ]
      }
    },
    "loc": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "v": {
            "type": "string"
          },
          "n": {
            "type": "integer"
          }
        },
        "required": [
          "v",
          "n"
        ]
      },
      "description": "Top cities; the first entry is the \"remote\" pseudo-value."
    },
    "workplace": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "v": {
            "type": "string"
          },
          "n": {
            "type": "integer"
          }
        },
        "required": [
          "v",
          "n"
        ]
      },
      "description": "Workplace counts: \"remote\" first (roles open to remote candidates), then hybrid and onsite."
    },
    "metro": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "v": {
            "type": "string"
          },
          "n": {
            "type": "integer"
          }
        },
        "required": [
          "v",
          "n"
        ]
      },
      "description": "Metro counts keyed by the metro parameter vocabulary (sf, nyc, la, ...)."
    },
    "stage": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "v": {
            "type": "string"
          },
          "n": {
            "type": "integer"
          }
        },
        "required": [
          "v",
          "n"
        ]
      },
      "description": "Company stage counts (the stage parameter vocabulary)."
    },
    "posted": {
      "type": "object",
      "description": "Roles published inside each posted preset window.",
      "properties": {
        "24h": {
          "type": "integer"
        },
        "7d": {
          "type": "integer"
        },
        "30d": {
          "type": "integer"
        }
      }
    },
    "senUnspecified": {
      "type": "integer",
      "description": "Roles with no stated seniority (sen=_ selects them)."
    },
    "spec": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "v": {
            "type": "string"
          },
          "n": {
            "type": "integer"
          }
        },
        "required": [
          "v",
          "n"
        ]
      },
      "description": "Specialty counts under the ONE selected craft (empty otherwise). Present only while classified crafts are enabled."
    },
    "lvl": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "v": {
            "type": "string"
          },
          "n": {
            "type": "integer"
          }
        },
        "required": [
          "v",
          "n"
        ]
      },
      "description": "Classified level counts (the lvl parameter vocabulary). Present only while classified crafts are enabled."
    },
    "fnUnspecified": {
      "type": "integer",
      "description": "Roles with no craft label yet. Present only while classified crafts are enabled."
    },
    "lvlUnspecified": {
      "type": "integer",
      "description": "Roles with no level label yet (lvl=_ selects them). Present only while classified crafts are enabled."
    },
    "yoe": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "v": {
            "type": "string"
          },
          "n": {
            "type": "integer"
          }
        },
        "required": [
          "v",
          "n"
        ]
      },
      "description": "Classified minimum-experience band counts (the yoe parameter vocabulary). Present only while classified crafts are enabled."
    },
    "eng": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "v": {
            "type": "string"
          },
          "n": {
            "type": "integer"
          }
        },
        "required": [
          "v",
          "n"
        ]
      },
      "description": "Classified engagement type counts (the eng parameter vocabulary). Present only while classified crafts are enabled."
    },
    "yoeUnspecified": {
      "type": "integer",
      "description": "Roles with no experience label yet (yoe=_ selects them). Present only while classified crafts are enabled."
    },
    "engUnspecified": {
      "type": "integer",
      "description": "Roles with no engagement label yet (eng=_ selects them). Present only while classified crafts are enabled."
    },
    "founding": {
      "type": "integer",
      "description": "Roles classified as founding roles (founding=1 selects them), counted with every other filter applied. Present only while classified crafts are enabled."
    },
    "aiRole": {
      "type": "integer",
      "description": "Roles classified as AI-native (ai=1 selects them), counted with every other filter applied. Present only while classified crafts are enabled."
    },
    "foundingUnspecified": {
      "type": "integer",
      "description": "Roles with no founding-role label yet. Present only while classified crafts are enabled."
    },
    "aiUnspecified": {
      "type": "integer",
      "description": "Roles with no AI-native label yet. Present only while classified crafts are enabled."
    },
    "size": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "v": {
            "type": "string"
          },
          "n": {
            "type": "integer"
          }
        },
        "required": [
          "v",
          "n"
        ]
      },
      "description": "Company size band counts (the size parameter vocabulary). Present only while company facets are enabled."
    },
    "industry": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "v": {
            "type": "string"
          },
          "n": {
            "type": "integer"
          }
        },
        "required": [
          "v",
          "n"
        ]
      },
      "description": "Top-24 company industry counts (the industry parameter vocabulary; v is the slug of a LinkedIn industry name, e.g. hospital_health_care = Hospital & Health Care). Present only while company facets are enabled."
    },
    "stageUnspecified": {
      "type": "integer",
      "description": "Roles at companies with no stage label. Present only while company facets are enabled."
    },
    "sizeUnspecified": {
      "type": "integer",
      "description": "Roles at companies with no size label. Present only while company facets are enabled."
    },
    "industryUnspecified": {
      "type": "integer",
      "description": "Roles at companies with no industry label. Present only while company facets are enabled."
    },
    "frontierLab": {
      "type": "integer",
      "description": "Roles at frontier AI labs (lab=1 selects them). Present only while company facets are enabled."
    },
    "bigTech": {
      "type": "integer",
      "description": "Roles at big tech companies (bigtech=1 selects them). Present only while company facets are enabled."
    },
    "compAvailable": {
      "type": "integer"
    },
    "compHidden": {
      "type": "integer"
    },
    "stealth": {
      "type": "integer"
    },
    "named": {
      "type": "integer"
    }
  }
}