authorisation.json 3.44 KB
Newer Older
{
  "$id": "authorisation.json",
  "$defs": {
    "AuthorisationObject": {
      "type": "object",
      "properties": {
        "ObjectIdentifier": {
          "$ref": "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": {
          "$ref": "core.json#/$defs/AssociatedObjects"
        },
        "LastChanged": {
          "$ref": "etsi103280.json#/$defs/QualifiedDateTime"
        },
        "NationalHandlingParameters": {
          "$ref": "core.json#/$defs/NationalHandlingParameters"
        },
        "AuthorisationReference": {
          "$ref": "etsi103280.json#/$defs/LongString"
        },
        "AuthorisationLegalType": {
          "$ref": "common.json#/$defs/DictionaryEntry"
        },
        "AuthorisationPriority": {
          "$ref": "common.json#/$defs/DictionaryEntry"
        },
        "AuthorisationStatus": {
          "$ref": "common.json#/$defs/DictionaryEntry"
        },
        "AuthorisationDesiredStatus": {
          "$ref": "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": {
          "$ref": "common.json#/$defs/ApprovalDetails"
        },
        "AuthorisationInvalidReason": {
          "$ref": "core.json#/$defs/ActionUnsuccesfulInformation"
        },
        "AuthorisationFlags": {
          "$ref": "#/$defs/AuthorisationFlags"
        },
        "AuthorisationManualInformation": {
          "$ref": "etsi103280.json#/$defs/LongString"
        },
        "NationalAuthorisationParameters": {
          "$ref": "#/$defs/NationalAuthorisationParameters"
        }
      },
      "required": [
        "ObjectIdentifier"
      ]
    },
    "AuthorisationFlags": {
      "type": "object",
      "properties": {
        "AuthorisationFlag": {
          "$ref": "common.json#/$defs/DictionaryEntry"
        }
      },
      "required": []
    },
    "AuthorisationTimespan": {
      "type": "object",
      "properties": {
        "StartTime": {
          "$ref": "etsi103280.json#/$defs/QualifiedDateTime"
        },
        "EndTime": {
          "$ref": "etsi103280.json#/$defs/QualifiedDateTime"
        }
      },
      "required": []
    },
    "AuthorisationCSPID": {
      "type": "object",
      "properties": {
        "CSPID": {
          "$ref": "core.json#/$defs/EndpointID"
        }
      },
      "required": [
        "CSPID"
      ]
    },
    "NationalAuthorisationParameters": {
      "type": "object",
      "properties": {
        "CountryCode": {
          "$ref": "etsi103280.json#/$defs/ISOCountryCode"
        }
      },
      "required": [
        "CountryCode"
      ]
    }
  }
}