io.atomicbits.scraml.ramlparser.model.parsedtypes
Created by peter on 16/09/15.
Generic Object elements have a 'genericType' field:
| { | "$schema": "http://json-schema.org/draft-03/schema", | "id": "http://atomicbits.io/schema/paged-list.json#", | "type": "object", | "typeVariables": ["T", "U"], | "description": "A paged list with an optional owner of the list", | "properties": { | "count": { | "type": "integer", | "required": true | }, | "elements": { | "required": true, | "type": "array", | "items": { | "type": "object", | "genericType": "T" | } | }, | "owner": { | "required": false, | "type": "object", | "genericType": "U" | } | } | }
Created by peter on 16/09/15.
Generic Object elements have a 'genericType' field:
| { | "$schema": "http://json-schema.org/draft-03/schema", | "id": "http://atomicbits.io/schema/paged-list.json#", | "type": "object", | "typeVariables": ["T", "U"], | "description": "A paged list with an optional owner of the list", | "properties": { | "count": { | "type": "integer", | "required": true | }, | "elements": { | "required": true, | "type": "array", | "items": { | "type": "object", | "genericType": "T" | } | }, | "owner": { | "required": false, | "type": "object", | "genericType": "U" | } | } | }