"title":"Example CSP schema A for ETSI TS 103 705 response",
"description":"Example extended schema for CSP A. This CSP only ever has one person associated with a subscription - the account holder - and so composes a Subscription record from the ETSI-standard Subscription and PersonDetails entities",
"allOf":[
{
"$ref":"http://etsi.org/temp/705"
},
{
"type":"object",
"properties":{
"recordSet":{
"type":"array",
"items":{
"$ref":"#/$defs/definedRecords"
}
}
},
"required":[
"recordSet"
]
}
],
"$defs":{
"definedRecords":{
"title":"Defined Records",
"description":"Sets out what the valid set of Record types is for this CSP. It is expressed as a 'oneOf' list, each of which combines a type identifier and a reference to the type that is used to validate the record",
"oneOf":[
{
"allOf":[
{
"type":"object",
"title":"Subscriber record",
"description":"Uses the ETSI-standard subscriber record (the first $ref), extended to include person details (the second $ref)",
"properties":{
"type":{
"const":"Subscription"
}
}
},
{
"description":"Uses the basic ETSI-standard subscriber record fields as a base",
"description":"Extends the basic ETSI standard subscriber record according to the definition in extendedSubscriberRecord",
"$ref":"#/$defs/extendedSubscriberRecord"
}
]
}
]
},
"extendedSubscriberRecord":{
"title":"Extended Subscriber Record",
"description":"Here CSP A can describe all the extra fields that they want to put in their subscriber record. In this case, they just add the details of the account holder using the ETSI-standard PersonDetails type",
"properties":{
"title":"Account Holder",
"description":"Name and date of birth of the account holder for the description",
"title":"Example CSP schema A for ETSI TS 103 705 response",
"description":"Example extended schema for CSP B. This CSP has multiple different types of person associated with a subscription (account holder and bill payer); since these are often the same person, they want to be able to normalise this properly. They do this using a Pointer.",
"allOf":[
{
"$ref":"http://etsi.org/temp/705"
},
{
"type":"object",
"properties":{
"recordSet":{
"type":"array",
"items":{
"$ref":"#/$defs/definedRecords"
}
}
},
"required":[
"recordSet"
]
}
],
"$defs":{
"definedRecords":{
"title":"Defined Records",
"description":"Sets out what the valid set of Record types is for this CSP. It is expressed as a 'oneOf' list, each of which combines a type identifier and a reference to the type that is used to validate the record",
"oneOf":[
{
"allOf":[
{
"type":"object",
"title":"Subscriber record",
"description":"Uses the ETSI-standard subscriber record, extended to include a pointer to a Person record",