Commit ff4103cf authored by Mark Canterbury's avatar Mark Canterbury
Browse files

Merge branch 'draft/103705' into 'meeting/LI66'

Initial publication of TS 103 705

See merge request !142
parents 78869041 20620eda
Loading
Loading
Loading
Loading
Loading

103705/config.json

0 → 100644
+58 −0
Original line number Diff line number Diff line
[{
    "coreSchema" : "schema/response.schema.json",
    "supportingSchemas" : [
        "../103280/TS_103_280.schema.json",
        "examples/example1/csp_records.schema.json",
        "schema/etsi_types.schema.json"
    ],
    "exampleFiles" : [
        "examples/example1/csp_results.json"
    ]
},
{
    "coreSchema" : "schema/response.schema.json",
    "supportingSchemas" : [
        "../103280/TS_103_280.schema.json",
        "examples/example2/csp_records.schema.json",
        "examples/example2/csp_types.schema.json",
        "schema/etsi_types.schema.json"
    ],
    "exampleFiles" : [
        "examples/example2/csp_results.json"
    ]
},
{
    "coreSchema" : "schema/response.schema.json",
    "supportingSchemas" : [
        "../103280/TS_103_280.schema.json",
        "examples/example3/csp_records.schema.json",
        "examples/example3/csp_types.schema.json",
        "schema/etsi_types.schema.json"
    ],
    "exampleFiles" : [
        "examples/example3/csp_results.json"
    ]
},
{
    "coreSchema" : "schema/response.schema.json",
    "supportingSchemas" : [
        "../103280/TS_103_280.schema.json",
        "examples/example4/csp_records.schema.json",
        "examples/example4/csp_types.schema.json",
        "schema/etsi_types.schema.json"
    ],
    "exampleFiles" : [
        "examples/example4/csp_results.json"
    ]
},
{
    "coreSchema" : "schema/response.schema.json",
    "supportingSchemas" : [
        "../103280/TS_103_280.schema.json",
        "examples/example5/csp_records.schema.json",
        "schema/etsi_types.schema.json"
    ],
    "exampleFiles" : [
        "examples/example5/csp_results.json"
    ]
}]
 No newline at end of file
+25 −0
Original line number Diff line number Diff line
{
  "$id": "urn:etsi:li:103705:record-schema-id:v1.1.1",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "CSP Record Schema",
  "description": "Defines the valid set of Records that may appear in a RecordSet (see ETSI TS 103 705 clause 6.2.4)",
  "cspSchemaID" : "csp.example_1",
  "cspName" : "csp.example.com",
  "dateIssued" : "2024-04-024T09:00:01Z",
  "version" : "1.1.1",
  "$defs": {
      "record" : {
        "oneOf" : [{
          "allOf" : [
            { "$ref" : "urn:etsi:li:103705:type-schema-id:v1.1.1#/$defs/CallRecord" },
            { "properties" : { "type" : { "const" : "urn:etsi:li:103705:type-schema-id:v1.1.1#/$defs/CallRecord"}}}
          ]},
          {
            "allOf" : [
              { "$ref" : "urn:etsi:li:103705:type-schema-id:v1.1.1#/$defs/MessagingRecord" },
              { "properties" : { "type" : { "const" : "urn:etsi:li:103705:type-schema-id:v1.1.1#/$defs/MessagingRecord"}}}
            ]}            
          ]
      }
  }
}
 No newline at end of file
+47 −0
Original line number Diff line number Diff line
{
    "recordSetDescription": {
        "etsiSchemaId": "urn:etsi:li:103705:response-schema-id:v1.1.1",
        "etsiSpecificationVersion": "0.3.0",
        "cspName" : "csp.example.com",
        "cspSchemaId" : "csp.example_1",
        "cspSchemaVersion" : "1.0.0",
        "resultSetId": "9a25db0c-d0f3-4ae5-b618-bd1a9a0056c2",
        "requestReference": "LDID",
        "created": "2024-04-25T09:31:56.000000Z"
    },
    "recordSet": [
        {
            "id": "3da91ade-f526-4e55-b5da-0c8178f25c24",
            "type": "urn:etsi:li:103705:type-schema-id:v1.1.1#/$defs/CallRecord",
            "timeBegin": "2024-04-20T10:04:00.000000Z",
            "timeEnd": "2024-04-20T10:05:00.000000Z",
            "endReason": 16,
            "parties": [
                {
                    "identity": {"phoneNumber": "491713920067"},
                    "role": "originating",
                    "initialAccessTechnology" : "5G"
                },
                {
                    "identity": {"phoneNumber": "441632960123"},
                    "role": "terminating"
                }
            ]
        },
        {
            "id": "8be3fc6b-a2dd-4104-9af1-d6b1f70081a0",
            "type": "urn:etsi:li:103705:type-schema-id:v1.1.1#/$defs/MessagingRecord",
            "eventTime": "2024-04-18T10:04:00.000000Z",
            "parties": [
                {
                    "identity": {"phoneNumber": "441632960123"},
                    "role": "sender"
                },
                {
                    "identity": {"phoneNumber": "491713920067"},
                    "role": "receiver"
                }
            ]
        }
    ]
}
 No newline at end of file
+6 −0
Original line number Diff line number Diff line
CSP elects to use only ETSI-standard types in their responses

CSP imports the following types in their CSP record schema

- InformationCall
- InformationMessaging
+25 −0
Original line number Diff line number Diff line
{
  "$id": "urn:etsi:li:103705:record-schema-id:v1.1.1",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "CSP Record Schema",
  "description": "Defines the valid set of Records that may appear in a RecordSet (see ETSI TS 103 705 clause 6.2.4)",
  "cspSchemaID" : "csp.example_2",
  "cspName" : "csp.example.com",  
  "dateIssued" : "2024-04-024T09:00:01Z",
  "version" : "1.1.1",
  "$defs": {
      "record" : {
          "oneOf" : [{
            "allOf" : [
              { "$ref" : "urn:etsi:li:103705:type-schema-id:v1.1.1#/$defs/CallRecord" },
              { "properties" : { "type" : { "const" : "urn:etsi:li:103705:type-schema-id:v1.1.1#/$defs/CallRecord"}}}
            ]},
            {
              "allOf" : [
                { "$ref" : "csp_example_types#/$defs/CSPMessagingRecord" },
                { "properties" : { "type" : { "const" : "csp_example_types#/$defs/CSPMessagingRecord"}}}
              ]}            
            ]
        }
    }
}
 No newline at end of file
Loading