TS_103_120_authorisation.json 3.92 KB
Newer Older
canterburym's avatar
canterburym committed
  "$id": "TS_103_120_authorisation.json",
  "$defs": {
    "AuthorisationObject": {
      "type": "object",
      "properties": {
canterburym's avatar
canterburym committed
        "xsiType": {
          "type": "string",
          "enum": "{http://uri.etsi.org/03120/common/2020/09/Authorisation}AuthorisationObject"
        },
        "ObjectIdentifier": {
canterburym's avatar
canterburym committed
          "$ref": "TS_103_120_core.json#/$defs/ObjectIdentifier"
        },
        "CountryCode": {
          "$ref": "etsi103280.json#/$defs/ISOCountryCode"
        },
        "OwnerIdentifier": {
          "$ref": "etsi103280.json#/$defs/ShortString"
        },
        "Generation": {
          "type": "integer",
          "minimum": 0
        },
        "ExternalIdentifier": {
          "$ref": "etsi103280.json#/$defs/LongString"
        },
        "AssociatedObjects": {
canterburym's avatar
canterburym committed
          "$ref": "TS_103_120_core.json#/$defs/AssociatedObjects"
        },
        "LastChanged": {
          "$ref": "etsi103280.json#/$defs/QualifiedDateTime"
        },
        "NationalHandlingParameters": {
canterburym's avatar
canterburym committed
          "$ref": "TS_103_120_core.json#/$defs/NationalHandlingParameters"
        },
        "AuthorisationReference": {
          "$ref": "etsi103280.json#/$defs/LongString"
        },
        "AuthorisationLegalType": {
canterburym's avatar
canterburym committed
          "$ref": "TS_103_120_common.json#/$defs/DictionaryEntry"
        },
        "AuthorisationPriority": {
canterburym's avatar
canterburym committed
          "$ref": "TS_103_120_common.json#/$defs/DictionaryEntry"
        },
        "AuthorisationStatus": {
canterburym's avatar
canterburym committed
          "$ref": "TS_103_120_common.json#/$defs/DictionaryEntry"
        },
        "AuthorisationDesiredStatus": {
canterburym's avatar
canterburym committed
          "$ref": "TS_103_120_common.json#/$defs/DictionaryEntry"
        },
        "AuthorisationTimespan": {
          "$ref": "#/$defs/AuthorisationTimespan"
        },
        "AuthorisationCSPID": {
          "$ref": "#/$defs/AuthorisationCSPID"
        },
        "AuthorisationCreationTimestamp": {
          "$ref": "etsi103280.json#/$defs/QualifiedDateTime"
        },
        "AuthorisationServedTimestamp": {
          "$ref": "etsi103280.json#/$defs/QualifiedDateTime"
        },
        "AuthorisationTerminationTimestamp": {
          "$ref": "etsi103280.json#/$defs/QualifiedDateTime"
        },
        "AuthorisationApprovalDetails": {
canterburym's avatar
canterburym committed
          "type": "array",
          "items": {
canterburym's avatar
canterburym committed
            "$ref": "TS_103_120_common.json#/$defs/ApprovalDetails"
canterburym's avatar
canterburym committed
          }
        },
        "AuthorisationInvalidReason": {
canterburym's avatar
canterburym committed
          "$ref": "TS_103_120_core.json#/$defs/ActionUnsuccesfulInformation"
        },
        "AuthorisationFlags": {
          "$ref": "#/$defs/AuthorisationFlags"
        },
        "AuthorisationManualInformation": {
          "$ref": "etsi103280.json#/$defs/LongString"
        },
        "NationalAuthorisationParameters": {
          "$ref": "#/$defs/NationalAuthorisationParameters"
        }
      },
      "required": [
canterburym's avatar
canterburym committed
        "xsiType",
        "ObjectIdentifier"
      ]
    },
    "AuthorisationFlags": {
      "type": "object",
      "properties": {
        "AuthorisationFlag": {
canterburym's avatar
canterburym committed
          "type": "array",
          "items": {
canterburym's avatar
canterburym committed
            "$ref": "TS_103_120_common.json#/$defs/DictionaryEntry"
canterburym's avatar
canterburym committed
          }
        }
      },
      "required": []
    },
    "AuthorisationTimespan": {
      "type": "object",
      "properties": {
        "StartTime": {
          "$ref": "etsi103280.json#/$defs/QualifiedDateTime"
        },
        "EndTime": {
          "$ref": "etsi103280.json#/$defs/QualifiedDateTime"
        }
      },
      "required": []
    },
    "AuthorisationCSPID": {
      "type": "object",
      "properties": {
        "CSPID": {
canterburym's avatar
canterburym committed
          "type": "array",
          "items": {
canterburym's avatar
canterburym committed
            "$ref": "TS_103_120_core.json#/$defs/EndpointID"
canterburym's avatar
canterburym committed
          },
          "minItems": 1
canterburym's avatar
canterburym committed
      "required": []
    },
    "NationalAuthorisationParameters": {
      "type": "object",
      "properties": {
        "CountryCode": {
          "$ref": "etsi103280.json#/$defs/ISOCountryCode"
        }
      },
      "required": [
        "CountryCode"
      ]
    }
  }
}