Skip to content
Snippets Groups Projects
Commit 86176945 authored by canterburym's avatar canterburym
Browse files

Updating typesUsed

parent e123cba0
No related branches found
No related tags found
1 merge request!141Draft/705
Pipeline #14484 passed
{
"recordSetDescription" : {
"typesUsed" : {
"type1" : "uri://example.com/schema1.schema.json",
"type2" : "uri://example.com/schema2.schema.json"
"Subscription" : "http://example.com/csp_a/response#/$defs/extendedSubscriberRecord"
}
},
"recordSet" : [
......
{
"recordSetDescription" : {
"typesUsed" : {
"type1" : "uri://example.com/schema1.schema.json",
"type2" : "uri://example.com/schema2.schema.json"
"Subscriber" : "http://example.com/csp_a/response#/$defs/extendedSubscriberRecord",
"Person" : "http://etsi.org/temp/705/entities/$defs/PersonDetails"
}
},
"recordSet" : [
......
......@@ -20,11 +20,12 @@
"recordSetDescription": {
"type": "object",
"title": "RecordSetDescription",
"description" : "Provides metadata about the records being delivered (see clause 5.2)",
"description": "Provides metadata about the records being delivered (see clause 5.2)",
"properties": {
"typesUsed": {
}
"resultSetId" : { "$ref" : "#/$defs/resultSetId"},
"version" : {"$ref" : "#/defs/version"},
"created" : {"$ref" : "http://etsi.org/temp/280#/$defs/QualifiedMicrosecondDateTime"},
"typesUsed": { "$ref" : "#/$defs/typesUsed"}
},
"required": [
"typesUsed"
......@@ -33,7 +34,7 @@
"typesUsed": {
"type": "object",
"title": "TypesUsed",
"description" : "Mapping between type identifiers (see clause 5.3.3) and JSON schema identifiers. Described in clause 5.2.2.",
"description": "Mapping between type identifiers (see clause 5.3.3) and JSON schema identifiers. Described in clause 5.2.2.",
"patternProperties": {
"": {
"$ref": "#/$defs/schemaReference"
......@@ -46,7 +47,7 @@
"recordSet": {
"type": "array",
"title": "RecordSet",
"description" : "RecordSet type (see clause 5.3.1). Contains a set of Records.",
"description": "RecordSet type (see clause 5.3.1). Contains a set of Records.",
"items": {
"$ref": "#$defs/record"
}
......@@ -54,20 +55,23 @@
"record": {
"type": "object",
"title": "Record",
"description" : "Record type (see clause 5.3.1). It is expected that each CSP schema will provide a concrete set of extended Record types that may be used here, each of which shall have a schema referenced using the typesUsed field in the recordDescription",
"description": "Record type (see clause 5.3.1). It is expected that each CSP schema will provide a concrete set of extended Record types that may be used here, each of which shall have a schema referenced using the typesUsed field in the recordDescription",
"properties": {
"id": {
"title" : "id",
"description" : "Unique identifier for the Record within the RecordSet (see clause 5.3.2).",
"title": "id",
"description": "Unique identifier for the Record within the RecordSet (see clause 5.3.2).",
"type": "string"
},
"type": {
"title" : "type",
"description" : "Identifier the type of the record (see clause 5.3.3). The value must match one given in the typesUsed field, which in turn must refer to a schema available to the receiver",
"title": "type",
"description": "Identifier the type of the record (see clause 5.3.3). The value must match one given in the typesUsed field, which in turn must refer to a schema available to the receiver",
"type": "string"
}
},
"required": ["id", "type"]
"required": [
"id",
"type"
]
}
}
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment