{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/hmcts/json-schema/hmcts-standard-applicant-get-detail-dto-schema.json",
  "title": "standard-applicant-get-detail-dto",
  "description": "Standard Applicant reference data. Only code, name and usage dates are exposed; personal and contact details are excluded.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/hmcts-standard-applicants-api-openapi.yml#/components/schemas/standard-applicant-get-detail-dto",
  "properties": {
    "code": {
      "description": "Code that identifies the Standard Applicant.",
      "type": "string"
    },
    "name": {
      "description": "Name of the Standard Applicant.",
      "type": "string"
    },
    "startDate": {
      "description": "Date the applicant record became active.",
      "format": "date",
      "type": "string"
    },
    "endDate": {
      "description": "Date the applicant became inactive. `null` indicates that this row is still active.",
      "format": "date",
      "type": [
        "string",
        "null"
      ]
    }
  },
  "required": [
    "code",
    "endDate",
    "startDate"
  ],
  "type": "object"
}