{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/mosip-io/json-schema/mosip-io-post-locations-request-schema.json",
  "title": "PostLocationsRequest",
  "x-generated": "2026-11-09",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/mosip-io-openapi-generated.yml#/components/schemas/PostLocationsRequest",
  "type": "object",
  "properties": {
    "code": {
      "type": "string",
      "description": "Code of the location"
    },
    "name": {
      "type": "string",
      "description": "Name of the location"
    },
    "hierarchyLevel": {
      "type": "string",
      "description": "Heirarchy level of the location"
    },
    "hierarchyName": {
      "type": "string",
      "description": "Hierarchy level name of the location"
    },
    "parentLocCode": {
      "type": "string",
      "description": "Parent location code of the location"
    },
    "langCode": {
      "type": "string",
      "description": "Language Code of the location"
    },
    "isActive": {
      "type": "string",
      "description": "Is this location active"
    }
  },
  "required": [
    "code",
    "name",
    "hierarchyLevel",
    "hierarchyName",
    "parentLocCode",
    "langCode",
    "isActive"
  ]
}