{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/speedrun-talent-network-com/json-schema/speedrun-talent-network-com-job-detail-schema.json",
  "title": "JobDetail",
  "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/JobDetail",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "status": {
      "type": "string",
      "enum": [
        "open",
        "closed"
      ],
      "description": "closed = the role existed but is no longer open; only id/title/company/url remain meaningful and apply/description are null."
    },
    "url": {
      "type": "string"
    },
    "title": {
      "type": "string"
    },
    "company": {
      "type": "string"
    },
    "company_slug": {
      "type": [
        "string",
        "null"
      ]
    },
    "company_url": {
      "type": [
        "string",
        "null"
      ]
    },
    "tier": {
      "type": "string",
      "enum": [
        "speedrun",
        "a16z",
        "market",
        "universe"
      ]
    },
    "stealth": {
      "type": "boolean"
    },
    "location": {
      "type": [
        "string",
        "null"
      ]
    },
    "workplace_type": {
      "type": [
        "string",
        "null"
      ]
    },
    "employment_type": {
      "type": [
        "string",
        "null"
      ]
    },
    "function": {
      "type": [
        "string",
        "null"
      ]
    },
    "seniority": {
      "type": [
        "string",
        "null"
      ]
    },
    "remote": {
      "type": "boolean"
    },
    "comp_summary": {
      "type": [
        "string",
        "null"
      ],
      "description": "Human-readable posted pay summary, when the company posted one."
    },
    "comp_min": {
      "type": [
        "number",
        "null"
      ]
    },
    "comp_max": {
      "type": [
        "number",
        "null"
      ]
    },
    "comp_currency": {
      "type": [
        "string",
        "null"
      ]
    },
    "comp_period": {
      "type": [
        "string",
        "null"
      ],
      "enum": [
        "year",
        "hour",
        "month",
        "week",
        "day",
        null
      ],
      "description": "Pay period the source posted; null = annual by convention."
    },
    "published_at": {
      "type": [
        "string",
        "null"
      ]
    },
    "apply": {
      "type": [
        "object",
        "null"
      ],
      "description": "How to apply. kind 'onsite' = the candidate applies on the job URL itself (no redirect); 'external' = the URL hands off to the company's own careers page.",
      "properties": {
        "kind": {
          "type": "string",
          "enum": [
            "onsite",
            "external"
          ]
        },
        "url": {
          "type": "string"
        }
      },
      "required": [
        "kind",
        "url"
      ]
    },
    "description_text": {
      "type": [
        "string",
        "null"
      ],
      "description": "Plain-text job description (HTML stripped), capped at 15,000 characters. Null on closed roles."
    },
    "labels": {
      "type": [
        "object",
        "null"
      ],
      "description": "Classified labels for the role as display strings (function, specialty, seniority, minimum experience band, workplace, engagement, founding-role and AI-native flags). Present only while classified labels are enabled on the board; null when the role has no classification yet. A field the classifier could not decide reads null.",
      "properties": {
        "function": {
          "type": [
            "string",
            "null"
          ]
        },
        "specialty": {
          "type": [
            "string",
            "null"
          ]
        },
        "seniority": {
          "type": [
            "string",
            "null"
          ]
        },
        "min_experience": {
          "type": [
            "string",
            "null"
          ]
        },
        "workplace": {
          "type": [
            "string",
            "null"
          ]
        },
        "engagement": {
          "type": [
            "string",
            "null"
          ]
        },
        "founding_role": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "ai_native_role": {
          "type": [
            "boolean",
            "null"
          ]
        }
      }
    }
  },
  "required": [
    "id",
    "status",
    "url",
    "title",
    "company",
    "tier",
    "stealth"
  ]
}