{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/entur/json-schema/entur-element-usages-schema.json",
  "title": "ElementUsages",
  "description": "ParameterUsages",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/entur-distribution-channel-usages-api-openapi.yml#/components/schemas/ElementUsages",
  "type": "object",
  "properties": {
    "elementRefs": {
      "type": "array",
      "description": "Parameters usages mapped to the requested parameter.",
      "items": {
        "$ref": "#/$defs/VersionOfObjectRef"
      }
    }
  },
  "$defs": {
    "VersionOfObjectRef": {
      "required": [
        "nameOfClass",
        "ref",
        "version"
      ],
      "type": "object",
      "properties": {
        "nameOfClass": {
          "minLength": 1,
          "type": "string",
          "description": "Name of class."
        },
        "ref": {
          "minLength": 1,
          "pattern": "^([A-Z]{3}):([A-Za-z]*):([0-9A-Za-z_\\-]*)$",
          "type": "string",
          "description": "The netex id reference to the object."
        },
        "version": {
          "type": "string",
          "description": "Version."
        }
      },
      "description": "Fare frame ref."
    }
  }
}