2 "$schema": "http://json-schema.org/draft-04/schema#",
3 "title": "Data format specification schema Version 1.0.1",
8 "$ref": "#/definitions/self"
10 "dataformatversion": {
11 "$ref": "#/definitions/dataformatversion"
16 "description": "A reference to an external schema - name/version or url, if specified, is used to access the artifact",
19 "$ref": "#/definitions/name"
22 "$ref": "#/definitions/url"
25 "$ref": "#/definitions/version"
28 "$ref": "#/definitions/format"
36 "additionalProperties": false
39 "required": ["self", "dataformatversion", "reference"],
40 "additionalProperties": false
44 "$ref": "#/definitions/self"
46 "dataformatversion": {
47 "$ref": "#/definitions/dataformatversion"
50 "$schema": "http://json-schema.org/draft-04/schema#",
51 "description": "The actual JSON schema for this data format"
55 "required": ["self", "dataformatversion", "jsonschema"],
56 "additionalProperties": false
60 "$ref": "#/definitions/self"
62 "dataformatversion": {
63 "$ref": "#/definitions/dataformatversion"
67 "description": "A JSON schema for delimited files",
70 "enum": [",", "|", "\t"]
74 "description": "Array of field descriptions",
76 "$ref": "#/definitions/field"
80 "additionalProperties": false
83 "required": ["self", "dataformatversion", "delimitedschema"],
84 "additionalProperties": false
88 "$ref": "#/definitions/self"
90 "dataformatversion": {
91 "$ref": "#/definitions/dataformatversion"
95 "description": "A JSON schema for unstructured text",
99 "enum": ["ASCII", "UTF-8", "UTF-16", "UTF-32"]
102 "additionalProperties": false
106 "required": ["self", "dataformatversion", "unstructured"],
107 "additionalProperties": false
118 "pattern": "^(\\d+\\.)(\\d+\\.)(\\*|\\d+)$"
121 "description": "Identifying Information for the Data Format - name/version can be used to access the artifact",
125 "$ref": "#/definitions/name"
128 "$ref": "#/definitions/version"
138 "additionalProperties": false
141 "description": "Reference schema type",
152 "description": "A field definition for the delimited schema",
162 "description": "the field type - from the XML schema types",
164 "enum": ["string", "boolean",
165 "decimal", "float", "double",
166 "duration", "dateTime", "time",
167 "date", "gYearMonth", "gYear",
168 "gMonthDay", "gDay", "gMonth",
169 "hexBinary", "base64Binary",
170 "anyURI", "QName", "NOTATION",
171 "normalizedString", "token",
172 "language", "IDREFS", "ENTITIES",
173 "NMTOKEN", "NMTOKENS", "Name",
174 "NCName", "ID", "IDREF", "ENTITY",
175 "integer", "nonPositiveInteger",
176 "negativeInteger", "long", "int",
178 "nonNegativeInteger", "unsignedLong",
179 "unsignedInt", "unsignedShort",
180 "unsignedByte", "positiveInteger"
185 "description": "Regular expression that defines the field format",
189 "description": "The maximum length of the field",
193 "description": "The minimum length of the field",
197 "description": "The minimum numeric value of the field",
201 "description": "The maximum numeric value of the field",
205 "additionalProperties": false
207 "dataformatversion": {
209 "enum": ["1.0.0", "1.0.1"]