Panel | ||
---|---|---|
| ||
|
Info | ||
---|---|---|
| ||
This page concerns v2.0 of the Specification. Supporting material on v1.0 is SWIM-SERV-029 Examples of code |
Requirement
Panel | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
|
Guidance
Verification Support
Consistency | Check that: [ ] The provided examples correspond to the described service. |
Examples
The following example shows the content as a table.
examples of code | public:/2019-09/MessageExamples.txt |
---|
The following example shows an extract of the content of a JSON file that conforms to the Service Metadata Schema
Code Block | ||||
---|---|---|---|---|
| ||||
"references": {
"serviceDocument": [{
"documentType": "CODE_EXAMPLE",
"title": "Example of messages",
"version": "1.0",
"description": "A set of message examples",
"reference": {
"url": "public:/2019-09/MessageExamples.txt"
}
},
{
"documentType": "CODE_EXAMPLE",
"title": "Service Implementation Manual",
"version": "24.0",
"description": "The manual to be used by service consumers when implementing the service. It includes code examples.",
"reference": {
"url": "public:/2019-09/ServiceImplementationManual.html"
}
}]
} |
Complete examples are available at Example service description.