{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://publicschema.org/PracticeRole.schema.json",
  "title": "PracticeRole",
  "description": "A dated role in which a person practices a profession for an organization, optionally at specified service points. Holding the role does not show that the person currently holds any required professional license. Only a person practices; an office held by a person or an organization is an InstitutionalRole.",
  "type": "object",
  "properties": {
    "person": {
      "oneOf": [
        {
          "$ref": "https://publicschema.org/Person.schema.json"
        },
        {
          "type": "string",
          "description": "URI or identifier reference"
        }
      ],
      "description": "A reference to the individual Person this record relates to."
    },
    "role_organization": {
      "oneOf": [
        {
          "$ref": "https://publicschema.org/Organization.schema.json"
        },
        {
          "type": "string",
          "description": "URI or identifier reference"
        }
      ],
      "description": "The organization in which the role is held or for which the person practises."
    },
    "profession_code": {
      "type": "array",
      "items": {
        "$ref": "https://publicschema.org/CodedValue.schema.json",
        "description": "The profession, occupation or specialty covered by this license or role, as a code from a named scheme, such as a regulator's list of regulated professions, ISCO-08 or the European Skills, Competences, Qualifications and Occupations classification. A person's own primary occupation is recorded with occupation."
      }
    },
    "practice_sites": {
      "type": "array",
      "items": {
        "oneOf": [
          {
            "$ref": "https://publicschema.org/ServicePoint.schema.json"
          },
          {
            "type": "string",
            "description": "URI or identifier reference"
          }
        ],
        "description": "The service points at which the person practices in this role."
      }
    },
    "start_date": {
      "type": "string",
      "format": "date",
      "description": "The date on which this became effective."
    },
    "end_date": {
      "type": "string",
      "format": "date",
      "description": "The last day on which this is effective. A period includes both its start date and its end date, so a period that applies only on 30 June 2026 has start date 2026-06-30 and end date 2026-06-30."
    }
  }
}
