fixtures/json/models/modelWithXmlAttributes.json
raw| 1 | { |
| 2 | "description": "this model serves xml and json structures", |
| 3 | "xml": { |
| 4 | "name": "XMLModel" |
| 5 | }, |
| 6 | "properties": { |
| 7 | "id": { |
| 8 | "type": "integer", |
| 9 | "format": "int64", |
| 10 | "xml": { |
| 11 | "attribute": true, |
| 12 | "namespace": "ns1", |
| 13 | "prefix": "urn1" |
| 14 | } |
| 15 | }, |
| 16 | "items": { |
| 17 | "type": "array", |
| 18 | "items": { |
| 19 | "type": "string" |
| 20 | }, |
| 21 | "xml": { |
| 22 | "wrapped": true |
| 23 | } |
| 24 | } |
| 25 | } |
| 26 | } |