Commit 00b353a1 authored by Antoine Burckard's avatar Antoine Burckard
Browse files

Replace 1960201_json_schema.json

parent 594bdbc4
Loading
Loading
Loading
Loading
+48 −28
Original line number Diff line number Diff line
@@ -4,19 +4,19 @@
    "LoTE": {
      "type": "object",
      "properties": {
        "SchemeInformation": {
          "$ref": "#/definitions/SchemeInformation"
        "ListAndSchemeInformation": {
          "$ref": "#/definitions/ListAndSchemeInformation"
        },
        "TrustedEntitiesList": {
          "$ref": "#/definitions/TrustedEntitiesList"
        }
      },
      "required": [
        "SchemeInformation"
        "ListAndSchemeInformation"
      ],
      "additionalProperties": false
    },
    "SchemeInformation": {
    "ListAndSchemeInformation": {
      "type": "object",
      "properties": {
        "LoTEVersionIdentifier": {
@@ -55,8 +55,8 @@
        "HistoricalInformationPeriod": {
          "$ref": "#/definitions/HistoricalInformationPeriod"
        },
        "PointerToOtherLoTE": {
          "$ref": "#/definitions/PointerToOtherLoTE"
        "PointersToOtherLoTE": {
          "$ref": "#/definitions/PointersToOtherLoTE"
        },
        "ListIssueDateTime": {
          "$ref": "#/definitions/ListIssueDateTime"
@@ -138,7 +138,7 @@
          "$ref": "#/definitions/PostalAddresses"
        },
        "SchemeOperatorElectronicAddress": {
          "$ref": "#/definitions/ElectronicAddresses"
          "$ref": "#/definitions/ElectronicAddress"
        }
      },
      "required": [
@@ -183,13 +183,6 @@
      ],
      "additionalProperties": false
    },
    "ElectronicAddresses": {
      "type": "array",
      "items": {
        "$ref": "#/definitions/ElectronicAddress"
      },
      "minItems": 1
    },
    "ElectronicAddress": {
      "type": "array",
      "items": {
@@ -262,14 +255,14 @@
    "HistoricalInformationPeriod": {
      "type": "integer"
    },
    "PointerToOtherLoTE": {
    "PointersToOtherLoTE": {
      "type": "array",
      "items": {
        "$ref": "#/definitions/OtherTSLPointer"
        "$ref": "#/definitions/OtherLoTEPointer"
      },
      "minItems": 1
    },
    "OtherTSLPointer": {
    "OtherLoTEPointer": {
      "type": "object",
      "properties": {
        "LoTELocation": {
@@ -291,6 +284,11 @@
          "minItems": 1
        }
      },
      "required": [
        "LoTELocation",
        "ServiceDigitalIdentities",
        "LoTEQualifiers"
      ],
      "additionalProperties": false
    },
    "ServiceDigitalIdentity": {
@@ -304,33 +302,35 @@
          "minItems": 1
        },
        "X509SubjectNames": {
          "type": "array",
          "items": {
            "type": "string"
            "$ref": "#/definitions/X509SubjectName"
          },
          "minItems": 1
        },
        "PublicKeyValues": {
          "type": "array",
          "items": {
            "$ref": "rfcs/rfc7517.json#/definitions/jwk"
            "$ref": "#/definitions/PublicKeyValue"
          },
          "minItems": 1
        },
        "X509SKIs": {
          "type": "array",
          "items": {
            "type": "string",
            "contentEncoding": "base64"
            "$ref": "#/definitions/X509SKI"
          },
          "minItems": 1
        },
        "OtherId": {
        "OtherIds": {
          "type": "array",
          "items": {
            "type": "string"
            "$ref": "#/definitions/OtherId"
          },
          "minItems": 1
        }
        },
      "additionalProperties": false
      }
    },
    "pkiOb": {
      "type": "object",
@@ -352,6 +352,19 @@
      ],
      "additionalProperties": false
    },
    "X509SubjectName": {
      "type": "string"
    },
    "PublicKeyValue": {
      "$ref": "rfcs/rfc7517.json#/definitions/jwk"
    },
    "X509SKI": {
      "type": "string",
      "contentEncoding": "base64"
    },
    "OtherId": {
      "type": "string"
    },
    "LoTEQualifier": {
      "type": "object",
      "properties": {
@@ -468,7 +481,7 @@
          "$ref": "#/definitions/SchemeServiceDefinitionURI"
        },
        "ServiceSupplyPoints": {
          "$ref": "#/definitions/ServiceSupplyPoint"
          "$ref": "#/definitions/ServiceSupplyPoints"
        },
        "ServiceDefinitionURI": {
          "$ref": "#/definitions/ServiceDefinitionURI"
@@ -547,6 +560,13 @@
      "minItems": 1
    },
    "ServiceHistory":{
      "type": "array",
      "items": {
        "$ref": "#/definitions/ServiceHistoryInstance"
      },
      "minItems": 1
    },
    "ServiceHistoryInstance": {
      "type": "object",
      "properties": {
        "ServiceName": {
@@ -625,7 +645,7 @@
          "$ref": "#/definitions/PostalAddresses"
        },
        "TEElectronicAddress": {
          "$ref": "#/definitions/ElectronicAddresses"
          "$ref": "#/definitions/ElectronicAddress"
        }
      },
      "required": [