Commit e5c6eae2 authored by Frank Fransen's avatar Frank Fransen Committed by Mark Canterbury
Browse files

Upload New File

parent 14434db7
Loading
Loading
Loading
Loading
+78 −0
Original line number Diff line number Diff line
{
  "$id": "csp_example_types",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "CSP Supplementary Schema",
  "description": "JSON schema for CSP defined types (see clause 6.1 and Annex A). Two collection records are defined for collecting subscriber data records using nesting (see Clause 5.5)",
  "$defs": {
    "CSPSubscriberRecordsCollectionRecord": {
      "type": "object",
      "title": "Subscriber collection record",
      "description": "Nesting record to cluster records related to a single subscriber (see clause 5.5). This record is used to cluster Subscriber Data records when the record set contains records of multiple subscribers.",
      "properties": {
        "subscriberInformationRecord": {
          "$ref": "urn:etsi:li:103705:type-schema-id:v1.5.1#/$defs/SubscriberInformationRecord",
          "description": "Information about a natural person or organisation in this CollectionRecord"
        },
        "registrationInformationRecords": {
          "type": "array",
          "items": {
            "$ref": "urn:etsi:li:103705:type-schema-id:v1.5.1#/$defs/RegistrationInformationRecord",
            "description": "One or more registration information records for the subscriber in this CollectionRecord"
          }
        },
        "serviceInformationRecords": {
          "type": "array",
          "items": {
            "$ref": "urn:etsi:li:103705:type-schema-id:v1.5.1#/$defs/ServiceInformationRecord",
            "description": "One or more service information records for the subscriber in this CollectionRecord"
          }
        },
        "paymentInformationRecords": {
          "type": "array",
          "items": {
            "$ref": "urn:etsi:li:103705:type-schema-id:v1.5.1#/$defs/PaymentInformationRecord",
            "description": "One or more payment information records for the subscriber in this CollectionRecord"
          }
        },
        "required": [
          "subscriberInformationRecord"
        ]
      }
    },
    "CSPSubscriptionRecordsCollectionRecord": {
      "type": "object",
      "title": "Subscription collection record",
      "description": "Nesting record to cluster records related to a single subscription (see clause 5.5). This record is used to cluster Subscriber Data records when the record set contains records of multiple subscriptions.",
      "properties": {
        "serviceInformationRecord": {
          "$ref": "urn:etsi:li:103705:type-schema-id:v1.5.1#/$defs/ServiceInformationRecord",
          "description": "Information about the service for the subscription in this CollectionRecord"
        },
        "subscriberInformationRecord": {
          "type": "array",
          "items": {
            "$ref": "urn:etsi:li:103705:type-schema-id:v1.5.1#/$defs/SubscriberInformationRecord",
            "description": "One or more subscriber information records for this CollectionRecord"
          }
        },
        "registrationInformationRecords": {
          "type": "array",
          "items": {
            "$ref": "urn:etsi:li:103705:type-schema-id:v1.5.1#/$defs/RegistrationInformationRecord",
            "description": "One or more registration information records for the subscription in this CollectionRecord"
          }
        },
        "paymentInformationRecords": {
          "type": "array",
          "items": {
            "$ref": "urn:etsi:li:103705:type-schema-id:v1.5.1#/$defs/PaymentInformationRecord",
            "description": "Information about the payment for the subscription in this CollectionRecord"
          }
        },
        "required": [
          "serviceInformationRecord"
        ]
      }
    }
  }
}