{
  "$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."
    },
    "job_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."
    },
    "agent_id": {
      "type": "string",
      "pattern": "^agent_[A-Za-z0-9]{8,64}$",
      "description": "Source defines the prefix; this draft chooses an 8–64 character alphanumeric suffix."
    },
    "agent_version": {
      "type": "string",
      "minLength": 1,
      "maxLength": 80
    },
    "fields": {
      "minItems": 1,
      "maxItems": 64,
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 120
      },
      "description": "Requested field selectors. Requests never create permission."
    },
    "purpose": {
      "type": "string",
      "minLength": 1,
      "maxLength": 1000
    }
  },
  "required": [
    "profile",
    "job_id",
    "agent_id",
    "agent_version",
    "fields",
    "purpose"
  ],
  "additionalProperties": false,
  "description": "Proposed grant-scope request, before user consent and coordinator issuance.",
  "title": "GrantRequest",
  "$comment": "owp-docs-draft/0.1: proposed documentation shape only. Source: https://app.notion.com/p/338ed9cb3201819d96e9fc7b8e88594a §7.1. No production conformance claim."
}
