diff --git a/103705/examples/example_jss/csp_results.json b/103705/examples/example_jss/csp_results.json new file mode 100644 index 0000000000000000000000000000000000000000..468aef65c8dd160bea239491c8afbb3b4bfc00f0 --- /dev/null +++ b/103705/examples/example_jss/csp_results.json @@ -0,0 +1,63 @@ +{ + "recordSetDescription": { + "etsiSchemaId": "urn:etsi:li:103705:response-schema-id:v1.5.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.5.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.5.1#/$defs/MessagingRecord", + "eventTime": "2024-04-18T10:04:00.000000Z", + "parties": [ + { + "identity": { + "phoneNumber": "441632960123" + }, + "role": "sender" + }, + { + "identity": { + "phoneNumber": "491713920067" + }, + "role": "receiver" + } + ] + } + ], + "signatures": [ + { + "hash_algorithm": "sha-256", + "algorithm": "Ed448", + "public_key": "MEMwBQYDK2VxAzoAPTyXPyIqU1VWCuEml1VjvnBYv2I+AvNteIGsTtVc2pT7erIVLDdJRq18tDhZifqW0WGYSy0yVYQA", + "value": "aTl8uy/NuKN9Nr6Y/snPhAWyo58OGW/Mwh7BVjp0sdCgRpZXfBYZswYLNopfXxEwhhOwqFJrWSiA+hXHTBlBb2MWwC5ir1TcloYsfP2SDZFJY24ESSysZejkLFVZ8fn7FDMeX2Zsn4wp2z6Kfcw3nBMA" + } + ] +} diff --git a/103705/examples/example_jss/request_jss_private_key.txt b/103705/examples/example_jss/request_jss_private_key.txt new file mode 100644 index 0000000000000000000000000000000000000000..77c0a76304b3ce96056c8acfba0d825e617fd02d --- /dev/null +++ b/103705/examples/example_jss/request_jss_private_key.txt @@ -0,0 +1,4 @@ +-----BEGIN PRIVATE KEY----- +MEcCAQAwBQYDK2VxBDsEOSorOHhQFkvXmylksjqu3I8oIogfarelL6o/t6n9SKy5 +grmgVExkD8fOlx++Mxe2fcyaHcEeSERuCA== +-----END PRIVATE KEY----- \ No newline at end of file diff --git a/103705/examples/example_jss/request_jss_public_key.txt b/103705/examples/example_jss/request_jss_public_key.txt new file mode 100644 index 0000000000000000000000000000000000000000..fc58e7a8a2f7409befcf3342a058684b5e1f641e --- /dev/null +++ b/103705/examples/example_jss/request_jss_public_key.txt @@ -0,0 +1,4 @@ +-----BEGIN PUBLIC KEY----- +MEMwBQYDK2VxAzoAPTyXPyIqU1VWCuEml1VjvnBYv2I+AvNteIGsTtVc2pT7erIV +LDdJRq18tDhZifqW0WGYSy0yVYQA +-----END PUBLIC KEY----- \ No newline at end of file diff --git a/103705/schema/response.schema.json b/103705/schema/response.schema.json index 2a7c484f508795c6d3f9efcc8a1ba579df39fe94..b81ab988578b301cc64ba002e4da06114b928480 100644 --- a/103705/schema/response.schema.json +++ b/103705/schema/response.schema.json @@ -13,6 +13,9 @@ }, "Signature": { "$ref": "#/$defs/Signature" + }, + "Signatures": { + "$ref": "#/$defs/Signatures" } }, "required": [ @@ -128,6 +131,32 @@ "protected", "signature" ] + }, + "Signatures": { + "type": "array", + "minItems": 1, + "items": { + "type": "object", + "properties": { + "hash_algorithm": { + "type": "string" + }, + "algorithm": { + "type": "string" + }, + "public_key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "hash_algorithm", + "algorithm", + "value" + ] + } } } } diff --git a/testing/json/ts_103705_ex_jss_json.json b/testing/json/ts_103705_ex_jss_json.json new file mode 100644 index 0000000000000000000000000000000000000000..8475c5505651e594b3a9de4d143a39b16fe1c2a0 --- /dev/null +++ b/testing/json/ts_103705_ex_jss_json.json @@ -0,0 +1,11 @@ +{ + "coreSchema": "103705/schema/response.schema.json", + "supportingSchemas": [ + "103705/schema/", + "103280/TS_103_280.schema.json", + "103705/examples/example1/csp_records.schema.json" + ], + "instanceDocs": [ + "103705/examples/example_jss/csp_results.json" + ] +}