{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "profile": {
      "type": "string",
      "const": "owp-docs-draft/0.1",
      "description": "Draft discriminator. This value is not OWP v0.4 conformance or an alpha wire profile."
    },
    "id": {
      "type": "string",
      "pattern": "^job_[A-Za-z0-9]{8,64}$",
      "description": "Source defines the prefix; this draft chooses an 8–64 character alphanumeric suffix."
    },
    "task_type": {
      "type": "string",
      "minLength": 1,
      "maxLength": 80
    },
    "budget_range": {
      "type": "string",
      "enum": [
        "Under $50",
        "$50–$500",
        "Over $500"
      ]
    },
    "time_constraint": {
      "type": "string",
      "enum": [
        "Within 24 hours",
        "This week",
        "This month",
        "Flexible"
      ]
    },
    "posted_at": {
      "type": "string",
      "format": "date-time",
      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:Z))$",
      "description": "§5.4: jittered by up to six hours in either direction. Never send the actual event timestamp here."
    }
  },
  "required": [
    "profile",
    "id",
    "task_type",
    "budget_range",
    "time_constraint",
    "posted_at"
  ],
  "additionalProperties": false,
  "description": "Privacy-minimized preview. No subtype, user identity, exact budget/deadline, attachments, criteria or context.",
  "title": "JobPreview",
  "$comment": "owp-docs-draft/0.1: proposed documentation shape only. Source: https://app.notion.com/p/338ed9cb3201819d96e9fc7b8e88594a §5.2–5.6. No production conformance claim."
}
