{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://publicschema.org/NameUsage.schema.json",
  "title": "NameUsage",
  "description": "A name by which a subject is known, with its language, the context of use and the period of use. A subject can have several names at once. A current name can also be recorded directly with name on an organization, or with given_name and family_name on a person.",
  "type": "object",
  "properties": {
    "subject_uri": {
      "type": "string",
      "format": "uri",
      "description": "The URI of the thing this record or statement is about."
    },
    "name": {
      "type": "string",
      "description": "The full display name of the record. Depending on the concept, this is a person's or group's name, or the title of a program, instrument, scoring rule, or software product."
    },
    "name_language": {
      "type": "string",
      "description": "The language of the name, as a language tag such as en or pt-BR, if known."
    },
    "name_use": {
      "$ref": "https://publicschema.org/CodedValue.schema.json",
      "description": "The context in which the name is used, such as a legal or trading name. Whether the name is current or former follows from the usage period. Codes from https://publicschema.org/vocab/name-use can be used where the source has no scheme of its own."
    },
    "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."
    }
  }
}
