Loading 103705/config.json +12 −0 Original line number Original line Diff line number Diff line Loading @@ -32,4 +32,16 @@ "exampleFiles" : [ "exampleFiles" : [ "examples/example3/csp_results.json" "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" ] }] }] No newline at end of file 103705/examples/example4/csp_records.schema.json 0 → 100644 +24 −0 Original line number Original line Diff line number Diff line { "$id": "etsi.org_ts103705_records", "$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)", "owner" : "Example CSP", "cspSchemaID" : "csp.example_4", "dateIssued" : "2024-04-024T09:00:01Z", "version" : "1.1.1", "$defs": { "record" : { "oneOf" : [{ "allOf" : [ { "$ref" : "csp_example_types#/$defs/CSPSubscriberRecord" }, { "properties" : { "type" : { "const" : "csp_example_types#/$defs/CSPSubscriberRecord"}}} ]},{ "allOf" : [ { "$ref" : "csp_example_types#/$defs/CSPAddressRecord" }, { "properties" : { "type" : { "const" : "csp_example_types#/$defs/CSPAddressRecord"}}} ]} ] } } } No newline at end of file 103705/examples/example4/csp_results.json 0 → 100644 +27 −0 Original line number Original line Diff line number Diff line { "recordSetDescription": { "schemaId": "etsi.org/ts_103_705/1.1.1", "resultSetId": "9a25db0c-d0f3-4ae5-b618-bd1a9a0056c2", "queryReference": "LDID", "created": "2024-04-25T09:31:56.000000Z" }, "recordSet": [ { "id": "3da91ade-f526-4e55-b5da-0c8178f25c24", "type": "csp_example_types#/$defs/CSPSubscriberRecord", "subscriberName" : "Max Mustermann", "registeredAddress" : { "destination" : "8be3fc6b-a2dd-4104-9af1-d6b1f70081a0" }, "deliveryAddress" : { "destination" : "8be3fc6b-a2dd-4104-9af1-d6b1f70081a0" }, "billingAddress" : { "destination" : "8be3fc6b-a2dd-4104-9af1-d6b1f70081a0" }, "contactAddress" : { "destination" : "8be3fc6b-a2dd-4104-9af1-d6b1f70081a0" } }, { "id": "8be3fc6b-a2dd-4104-9af1-d6b1f70081a0", "type": "csp_example_types#/$defs/CSPAddressRecord", "line1" : "First Line Of Address", "line2" : "Secoond Line Of Address", "postalCode" : "postal code", "country" : "country code" } ] } No newline at end of file 103705/examples/example4/csp_types.schema.json 0 → 100644 +46 −0 Original line number Original line Diff line number Diff line { "$id": "csp_example_types", "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "ETSI TS 103 705 Types schema", "description": "JSON schema for ETSI-defined types (see clause 6.1 and Annex A)", "$defs": { "CSPSubscriberRecord" : { "type" : "object", "title" : "CSP Subscriber Record", "description" : "A CSP's subscriber record. May contain four different addresses, which are often set to the same value", "properties" : { "subscriberName" : { "description" : "Name of subscriber (obviously a real definition would be more complex", "type" : "string" }, "registeredAddress" : { "description" : "Points to the address registered as part of the service", "$ref" : "etsi.org_ts103705_1.3.1_etsi-types#/$defs/Pointer" }, "deliveryAddress" : { "description" : "Points to the address used for delivery", "$ref" : "etsi.org_ts103705_1.3.1_etsi-types#/$defs/Pointer" }, "billingAddress" : { "description" : "Points to the address used for billing", "$ref" : "etsi.org_ts103705_1.3.1_etsi-types#/$defs/Pointer" }, "contactAddress" : { "description" : "Points to the address used for mailing purposes", "$ref" : "etsi.org_ts103705_1.3.1_etsi-types#/$defs/Pointer" } } }, "CSPAddressRecord" : { "type" : "object", "title" : "CSP Address Record", "description" : "A simple address structure (for example purporses - a standard ETSI one is needed, FFS)", "properties" : { "line1" : { "type" : "string"}, "line2" : { "type" : "string"}, "postalCode" : { "type" : "string"}, "country" : { "type" : "string"} } } } } No newline at end of file 103705/examples/example4/description.txt 0 → 100644 +8 −0 Original line number Original line Diff line number Diff line CSP wants to create a simple subsciber record structure (side note - at the moment we don't have that in the standard schema, but it is likely to come later) The subscriber can have a number of different addresses (e.g. contact, billing, delivery, installed) but they are often all set to the same value. To reduce the amount of repetition, the CSP uses the Pointer record - CSPSubscriberRecord - CSPAddressRecord Loading
103705/config.json +12 −0 Original line number Original line Diff line number Diff line Loading @@ -32,4 +32,16 @@ "exampleFiles" : [ "exampleFiles" : [ "examples/example3/csp_results.json" "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" ] }] }] No newline at end of file
103705/examples/example4/csp_records.schema.json 0 → 100644 +24 −0 Original line number Original line Diff line number Diff line { "$id": "etsi.org_ts103705_records", "$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)", "owner" : "Example CSP", "cspSchemaID" : "csp.example_4", "dateIssued" : "2024-04-024T09:00:01Z", "version" : "1.1.1", "$defs": { "record" : { "oneOf" : [{ "allOf" : [ { "$ref" : "csp_example_types#/$defs/CSPSubscriberRecord" }, { "properties" : { "type" : { "const" : "csp_example_types#/$defs/CSPSubscriberRecord"}}} ]},{ "allOf" : [ { "$ref" : "csp_example_types#/$defs/CSPAddressRecord" }, { "properties" : { "type" : { "const" : "csp_example_types#/$defs/CSPAddressRecord"}}} ]} ] } } } No newline at end of file
103705/examples/example4/csp_results.json 0 → 100644 +27 −0 Original line number Original line Diff line number Diff line { "recordSetDescription": { "schemaId": "etsi.org/ts_103_705/1.1.1", "resultSetId": "9a25db0c-d0f3-4ae5-b618-bd1a9a0056c2", "queryReference": "LDID", "created": "2024-04-25T09:31:56.000000Z" }, "recordSet": [ { "id": "3da91ade-f526-4e55-b5da-0c8178f25c24", "type": "csp_example_types#/$defs/CSPSubscriberRecord", "subscriberName" : "Max Mustermann", "registeredAddress" : { "destination" : "8be3fc6b-a2dd-4104-9af1-d6b1f70081a0" }, "deliveryAddress" : { "destination" : "8be3fc6b-a2dd-4104-9af1-d6b1f70081a0" }, "billingAddress" : { "destination" : "8be3fc6b-a2dd-4104-9af1-d6b1f70081a0" }, "contactAddress" : { "destination" : "8be3fc6b-a2dd-4104-9af1-d6b1f70081a0" } }, { "id": "8be3fc6b-a2dd-4104-9af1-d6b1f70081a0", "type": "csp_example_types#/$defs/CSPAddressRecord", "line1" : "First Line Of Address", "line2" : "Secoond Line Of Address", "postalCode" : "postal code", "country" : "country code" } ] } No newline at end of file
103705/examples/example4/csp_types.schema.json 0 → 100644 +46 −0 Original line number Original line Diff line number Diff line { "$id": "csp_example_types", "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "ETSI TS 103 705 Types schema", "description": "JSON schema for ETSI-defined types (see clause 6.1 and Annex A)", "$defs": { "CSPSubscriberRecord" : { "type" : "object", "title" : "CSP Subscriber Record", "description" : "A CSP's subscriber record. May contain four different addresses, which are often set to the same value", "properties" : { "subscriberName" : { "description" : "Name of subscriber (obviously a real definition would be more complex", "type" : "string" }, "registeredAddress" : { "description" : "Points to the address registered as part of the service", "$ref" : "etsi.org_ts103705_1.3.1_etsi-types#/$defs/Pointer" }, "deliveryAddress" : { "description" : "Points to the address used for delivery", "$ref" : "etsi.org_ts103705_1.3.1_etsi-types#/$defs/Pointer" }, "billingAddress" : { "description" : "Points to the address used for billing", "$ref" : "etsi.org_ts103705_1.3.1_etsi-types#/$defs/Pointer" }, "contactAddress" : { "description" : "Points to the address used for mailing purposes", "$ref" : "etsi.org_ts103705_1.3.1_etsi-types#/$defs/Pointer" } } }, "CSPAddressRecord" : { "type" : "object", "title" : "CSP Address Record", "description" : "A simple address structure (for example purporses - a standard ETSI one is needed, FFS)", "properties" : { "line1" : { "type" : "string"}, "line2" : { "type" : "string"}, "postalCode" : { "type" : "string"}, "country" : { "type" : "string"} } } } } No newline at end of file
103705/examples/example4/description.txt 0 → 100644 +8 −0 Original line number Original line Diff line number Diff line CSP wants to create a simple subsciber record structure (side note - at the moment we don't have that in the standard schema, but it is likely to come later) The subscriber can have a number of different addresses (e.g. contact, billing, delivery, installed) but they are often all set to the same value. To reduce the amount of repetition, the CSP uses the Pointer record - CSPSubscriberRecord - CSPAddressRecord