{
  "description": "Search the General Osteopathic Council's public register by exact surname, town, postcode, practice features or registration number, or browse every practice-linked osteopath.",
  "properties": {
    "disabilityAccess": {
      "default": false,
      "description": "Only return osteopaths whose practice reports disabled access. Partial access counts as access, matching the register's own filter.",
      "prefill": false,
      "title": "Requires disabled access",
      "type": "boolean"
    },
    "firstName": {
      "description": "Optional case-insensitive contains filter applied to the first-name part of the register name.",
      "editor": "textfield",
      "title": "First name contains",
      "type": "string"
    },
    "homeVisit": {
      "default": false,
      "description": "Only return osteopaths whose practice reports home visits.",
      "prefill": false,
      "title": "Offers home visits",
      "type": "boolean"
    },
    "location": {
      "description": "Exact town, county or country name, or a UK postcode/outcode such as SW1A 1AA or SW1A. Town names must match the register's own location labels.",
      "editor": "textfield",
      "title": "Town, county, country or postcode",
      "type": "string"
    },
    "maxItems": {
      "default": 50,
      "description": "Hard cap on emitted osteopath records. The full practice-linked register currently holds about 5,688 unique registrants.",
      "maximum": 10000,
      "minimum": 1,
      "prefill": 3,
      "title": "Maximum osteopaths",
      "type": "integer"
    },
    "mode": {
      "default": "search",
      "description": "Choose how to query the register.",
      "editor": "select",
      "enum": [
        "search",
        "byRegistrationNumbers",
        "fullRegister"
      ],
      "enumTitles": [
        "Search by surname, location or practice features",
        "Look up exact GOsC registration numbers",
        "Browse the full practice-linked register"
      ],
      "prefill": "search",
      "title": "Mode",
      "type": "string"
    },
    "qualificationContains": {
      "description": "Optional case-insensitive text filter over the published qualifications, for example Ost or DO.",
      "editor": "textfield",
      "title": "Qualification contains",
      "type": "string"
    },
    "radius": {
      "default": "10mi",
      "description": "Radius used when location is a UK postcode or outcode. Town and county searches use the register's own boundary.",
      "editor": "select",
      "enum": [
        "5mi",
        "10mi",
        "25mi",
        "50mi"
      ],
      "enumTitles": [
        "Within 5 miles",
        "Within 10 miles",
        "Within 25 miles",
        "Within 50 miles"
      ],
      "prefill": "10mi",
      "title": "Distance from postcode",
      "type": "string"
    },
    "registeredAfter": {
      "description": "Optional ISO date (YYYY-MM-DD). Only return entries whose date of registration is on or after this date.",
      "editor": "textfield",
      "title": "Registered on or after",
      "type": "string"
    },
    "registeredBefore": {
      "description": "Optional ISO date (YYYY-MM-DD). Only return entries whose date of registration is on or before this date.",
      "editor": "textfield",
      "title": "Registered on or before",
      "type": "string"
    },
    "registrationNumbers": {
      "description": "Exact registration numbers for byRegistrationNumbers mode. Strings or integers are accepted; duplicates and leading zeros are normalised. Only the first 10,000 unique numbers are read.",
      "editor": "stringList",
      "prefill": [
        "1766"
      ],
      "title": "GOsC registration numbers",
      "type": "array"
    },
    "status": {
      "default": "",
      "description": "Optional exact status filter applied after each register entry is read. Leave blank for every status.",
      "editor": "select",
      "enum": [
        "",
        "Fully Registered",
        "Non Practising",
        "Practising Overseas",
        "Suspended",
        "Conditions of Practice",
        "Undertaking"
      ],
      "enumTitles": [
        "Any status",
        "Fully Registered",
        "Non Practising",
        "Practising Overseas",
        "Suspended",
        "Conditions of Practice",
        "Undertaking"
      ],
      "prefill": "",
      "title": "Practising status",
      "type": "string"
    },
    "surname": {
      "description": "Exact surname as held by the register, case-insensitive (for example Smith). Partial surnames such as Smit do not match. Combine with location or practice features to narrow results.",
      "editor": "textfield",
      "prefill": "Smith",
      "title": "Exact surname",
      "type": "string"
    },
    "welshSpoken": {
      "default": false,
      "description": "Only return osteopaths whose practice reports that Welsh is spoken.",
      "prefill": false,
      "title": "Welsh spoken",
      "type": "boolean"
    }
  },
  "required": [
    "mode"
  ],
  "schemaVersion": 1,
  "title": "UK Osteopath Register Scraper Input",
  "type": "object"
}
