The TMF 641 Spec has the bellow illustrations, with the "@schemaLocation" pointing to certail urls for Service Characteristic and for Service Specification Ref.
1. Is the @schemaLocation "http://nbi/api/v4/serviceSpecification/ONAPvCPE_Spec/specificationInputSchema" referred to for the Service Specification defined by ONAP for CPE type of resource? Since the Url is not a real Url, where can I find the actual schema definition for CPE Specification? Similarly are there ONAP defined schemas in existence for other types of resources such as Network Slices?
2. The @schemaLocation in ServiceSpecificationRef points to "http://my.schema/ONAPServiceSpecificationRef.json". While this url is also an unreal one, why is this on a different domain from the above one? Is the thinking that the schema for ONAP Service Specification "Reference" (with just id, href, name etc agnostic to the actual Service Specification contents) will be more static and immutable, whereas the schemas for Service Specifications themselves such as vCPE have a more dynamic existence and will be hosted separately?
In otherwords, if there is a Service type that a Provider wants to provided for which there is not a schema defined by ONAP, this Provider can define and host its own Service Specification, and still use ONAPServiceSpecificationRef to refer to this Specification url and id?
"serviceCharacteristic": [
{
"id": "452-gh6",
"name": "vCPE",
"valueType": "object",
"value": {
"@type": "vCPE",
"@schemaLocation": "http://nbi/api/v4/serviceSpecification/ONAPvCPE_Spec/specificationInputSchema",
"vCPE_IP": "193.218.236.21",
"MaxTxRate": 300,
"TransmitPower": "11 dBm",
"maxTream": "OFF"
}
}
],
"serviceSpecification": {
"@type": "ONAPServiceSpecificationRef",
"@schemaLocation": "http://my.schema/ONAPServiceSpecificationRef.json",
"id": "ONAPvCPE_Spec",
"href": "http://../serviceSpecification/ONAPvCPE_Spec",
Service Ordering Management API User Guide
© TM Forum 2021. All Rights Reserved Page 26 of 66
"name": "vCPE",
"version": "1",
"invariantUUID": "456-852-357",
"toscaModelURL": "http//..."
}
------------------------------
Kannan Jayaprakasam
TO BE VERIFIED
------------------------------