{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/roledawn-com/json-schema/roledawn-com-signal-list-schema.json",
  "title": "SignalList",
  "x-generated": "2026-11-23",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/roledawn-com-jobs-openapi.json#/components/schemas/SignalList",
  "type": "object",
  "required": [
    "family",
    "since",
    "type",
    "window_start",
    "generated_at",
    "total",
    "count",
    "limit",
    "offset",
    "next_offset",
    "free_rows",
    "truncated",
    "signals",
    "include_closed",
    "semantics"
  ],
  "properties": {
    "family": {
      "type": "string",
      "description": "The role families you asked for, comma-separated"
    },
    "since": {
      "type": "string",
      "enum": [
        "7d",
        "14d",
        "30d"
      ]
    },
    "type": {
      "type": "string",
      "enum": [
        "first_hire",
        "surge",
        "all"
      ]
    },
    "include_closed": {
      "type": "boolean",
      "description": "Echo of include_closed: false = closed job posts left out."
    },
    "window_start": {
      "type": "string",
      "format": "date-time",
      "description": "Signals detected on or after this time are included"
    },
    "generated_at": {
      "type": "string",
      "format": "date-time",
      "description": "When the result was read from the database"
    },
    "total": {
      "type": "integer",
      "description": "Companies matching the query"
    },
    "count": {
      "type": "integer",
      "description": "Companies in this response"
    },
    "limit": {
      "type": "integer"
    },
    "offset": {
      "type": "integer"
    },
    "next_offset": {
      "type": [
        "integer",
        "null"
      ],
      "description": "offset for the next page within the free rows, null on the last page"
    },
    "free_rows": {
      "type": "integer",
      "description": "Companies available per query on the free tier (20)"
    },
    "truncated": {
      "type": "boolean",
      "description": "true when total is larger than free_rows"
    },
    "semantics": {
      "type": "string",
      "description": "What a record means (constant): RoleDawn has read these job boards since 2026-10-05. type=first_hire is an internal id: the public name is \"New on their board\". Each record is a role family that appeared on the company's public ATS job board between two of our reads (basis=observed), or found on our first read of that board (basis=inferred). It is not proof the company never hired for this role before. founding_evidence is the company's own words: a job title that says Founding (the reliable kind), or a job post that says \"our first <this role>\". It is quoted, not verified."
    },
    "signals": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Signal"
      }
    }
  },
  "$defs": {
    "Signal": {
      "type": "object",
      "required": [
        "company",
        "company_key",
        "company_url",
        "title",
        "family",
        "type",
        "signal",
        "evidence",
        "founding",
        "job_url",
        "detected",
        "signal_id",
        "dedupe_key",
        "ats",
        "job_posted_at",
        "job_first_posted_at",
        "reposted",
        "reposted_at",
        "original_title",
        "job_posted_at_source",
        "first_seen_at",
        "detected_at",
        "basis",
        "basis_reason",
        "founding_mention",
        "founding_evidence",
        "still_open",
        "last_verified_open_at",
        "closed_at",
        "prior_observation"
      ],
      "properties": {
        "company": {
          "type": "string",
          "description": "Company name"
        },
        "company_key": {
          "type": "string",
          "description": "RoleDawn company id (ats-slug)"
        },
        "company_url": {
          "type": "string",
          "format": "uri",
          "description": "RoleDawn company page with all open roles"
        },
        "title": {
          "type": "string",
          "description": "Title of the job post behind the signal"
        },
        "family": {
          "type": "string",
          "description": "Role family id"
        },
        "type": {
          "type": "string",
          "enum": [
            "first_hire",
            "surge"
          ]
        },
        "signal": {
          "type": "string",
          "description": "Readable signal, e.g. \"SDR/BDR role new on their board\" or \"RevOps hiring surge\""
        },
        "evidence": {
          "type": "string",
          "description": "Readable basis label: the founding label (Job title says \"Founding\") when the title says so, otherwise \"New on their board\" (basis=observed) or \"New on their board · inferred on first read\" (basis=inferred), or for surges the role counts, e.g. \"5 roles in 30 days vs 1 before\"."
        },
        "founding": {
          "type": "boolean",
          "description": "Same as founding_mention (kept for existing callers)."
        },
        "location": {
          "type": [
            "string",
            "null"
          ],
          "description": "Location text of the job post"
        },
        "job_url": {
          "type": "string",
          "format": "uri",
          "description": "The company's own public job post"
        },
        "posted": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time",
          "deprecated": true,
          "description": "Deprecated, use job_posted_at. Since 2026-10-11 it equals job_posted_at and is null when the ATS gives no posting date (before, it fell back to first_seen_at)."
        },
        "detected": {
          "type": "string",
          "format": "date-time",
          "deprecated": true,
          "description": "Deprecated alias of detected_at."
        },
        "roles_last_30d": {
          "type": [
            "integer",
            "null"
          ],
          "description": "Surges only: roles in the family posted in the last 30 days"
        },
        "roles_prior_30d": {
          "type": [
            "integer",
            "null"
          ],
          "description": "Surges only: roles in the family posted in the 30 days before"
        },
        "signal_id": {
          "type": "integer",
          "description": "RoleDawn signal id (stable)."
        },
        "dedupe_key": {
          "type": "string",
          "description": "Uniqueness key of the stored signal: first_hire:<company id>:<family> (one ever per company and family) or surge:<company id>:<family>:<YYYY-MM>."
        },
        "ats": {
          "type": "string",
          "enum": [
            "greenhouse",
            "lever",
            "ashby",
            "workable",
            "recruitee",
            "workday"
          ],
          "description": "Applicant tracking system hosting the board."
        },
        "job_posted_at": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time",
          "description": "Newest posting date the ATS shows (see job_posted_at_source). null when the ATS gives none; never filled with our first_seen_at. Differs from job_first_posted_at after a repost."
        },
        "job_first_posted_at": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time",
          "description": "The ATS posting date when RoleDawn first saw this post. Surge counts use this date, so a repost that resets the ATS date is not counted as a new role."
        },
        "reposted": {
          "type": "boolean",
          "description": "true when, after we first saw the post, the ATS date moved forward (repost) or the title changed. Workday dates are not compared (they are relative, day precision)."
        },
        "reposted_at": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time",
          "description": "When RoleDawn noticed the latest repost or rename; null if never."
        },
        "original_title": {
          "type": [
            "string",
            "null"
          ],
          "description": "Title when RoleDawn first saw the post, if it has been renamed since (title is the current one); null if never renamed."
        },
        "job_posted_at_source": {
          "type": "string",
          "description": "ATS field job_posted_at comes from, e.g. \"lever:createdAt\", \"greenhouse:first_published (updated_at when first_published is absent)\", \"workday:postedOn (\\\"Posted N Days Ago\\\", converted at read time, day precision)\"."
        },
        "first_seen_at": {
          "type": "string",
          "format": "date-time",
          "description": "When RoleDawn first saw this job post on the board (our observation, not the company's posting date)."
        },
        "detected_at": {
          "type": "string",
          "format": "date-time",
          "description": "When RoleDawn created this signal."
        },
        "basis": {
          "type": "string",
          "enum": [
            "observed",
            "inferred"
          ],
          "description": "observed = the change happened between two of our reads of the board (first_hire: no role of this family on any earlier read; surge: detected after at least one earlier read). inferred = found on our first read of the board, where no earlier observation exists."
        },
        "basis_reason": {
          "type": "string",
          "description": "One sentence explaining the basis with the numbers behind it."
        },
        "founding_mention": {
          "type": "boolean",
          "description": "The company itself calls a role of this family founding / first / #1 (job title or job description). The only first-hire claim in a record; the company's words, not verified by RoleDawn (title evidence is the strong kind)."
        },
        "founding_evidence": {
          "type": [
            "object",
            "null"
          ],
          "description": "Where founding_mention comes from: the job title, or the matched phrase in the job description (max 120 characters). null when founding_mention is false.",
          "required": [
            "source",
            "text"
          ],
          "properties": {
            "source": {
              "type": "string",
              "enum": [
                "title",
                "job_description"
              ]
            },
            "text": {
              "type": "string"
            }
          }
        },
        "still_open": {
          "type": "boolean",
          "description": "The job post was still listed at our last successful read of the board. Closed posts are left out unless include_closed=true."
        },
        "last_verified_open_at": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time",
          "description": "Our last successful read of the board, at which this post was still listed. null when closed or unknown."
        },
        "closed_at": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time",
          "description": "First read at which the post was no longer listed; null while open."
        },
        "prior_observation": {
          "type": "object",
          "description": "What RoleDawn had observed on this board before the signal.",
          "required": [
            "source",
            "company_first_crawled_at",
            "crawls_before_detection",
            "crawls_before_detection_exact",
            "last_empty_crawl_at"
          ],
          "properties": {
            "source": {
              "type": "string",
              "enum": [
                "recorded",
                "derived"
              ],
              "description": "recorded = snapshot written by the crawler when it created the signal (signals from 2026-10-11 on). derived = rebuilt from job first-seen/closed timestamps (older signals, or signals added by reclassification)."
            },
            "company_first_crawled_at": {
              "type": [
                "string",
                "null"
              ],
              "format": "date-time",
              "description": "Our first successful read of this board. For companies tracked before 2026-10-11: the earliest first_seen_at of any job there (the first read unless the board was empty then). null if unknown."
            },
            "crawls_before_detection": {
              "type": "integer",
              "description": "Successful reads of the board before the read that produced the signal. When derived it is a minimum (reads that changed nothing leave no timestamp)."
            },
            "crawls_before_detection_exact": {
              "type": "boolean",
              "description": "true when recorded; false when derived (true count is at least crawls_before_detection)."
            },
            "last_empty_crawl_at": {
              "type": [
                "string",
                "null"
              ],
              "format": "date-time",
              "description": "basis=observed first_hire only: latest read before detection at which the board had 0 roles in this family (when derived: the latest such read we can prove). null for inferred and surge."
            }
          }
        }
      },
      "description": "RoleDawn has read these job boards since 2026-10-05. type=first_hire is an internal id: the public name is \"New on their board\". Each record is a role family that appeared on the company's public ATS job board between two of our reads (basis=observed), or found on our first read of that board (basis=inferred). It is not proof the company never hired for this role before. founding_evidence is the company's own words: a job title that says Founding (the reliable kind), or a job post that says \"our first <this role>\". It is quoted, not verified. Dedupe: at most one first_hire signal per company and role family ever (dedupe_key first_hire:<company id>:<family>), at most one surge per company, family and month; a response then shows one row per company (its best-ranked signal; companies with the same normalized name are merged). Reposts of a family we already saw never create a new signal."
    }
  }
}