@defra/forms-model 3.0.430 → 3.0.432
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +163 -1
- package/dist/module/common/pagination/index.js +2 -2
- package/dist/module/common/pagination/index.js.map +1 -1
- package/dist/module/common/search/index.js +4 -4
- package/dist/module/common/search/index.js.map +1 -1
- package/dist/module/common/sorting/index.js +2 -2
- package/dist/module/common/sorting/index.js.map +1 -1
- package/dist/module/form/form-definition/index.js +156 -156
- package/dist/module/form/form-definition/index.js.map +1 -1
- package/dist/module/form/form-editor/index.js +42 -42
- package/dist/module/form/form-editor/index.js.map +1 -1
- package/dist/module/form/form-manager/index.js +3 -3
- package/dist/module/form/form-manager/index.js.map +1 -1
- package/dist/module/form/form-metadata/index.js +34 -34
- package/dist/module/form/form-metadata/index.js.map +1 -1
- package/dist/module/form/form-submission/index.js +13 -13
- package/dist/module/form/form-submission/index.js.map +1 -1
- package/dist/module/types/joi-to-json.d.js +2 -0
- package/dist/module/types/joi-to-json.d.js.map +1 -0
- package/dist/types/common/pagination/index.d.ts.map +1 -1
- package/dist/types/common/search/index.d.ts.map +1 -1
- package/dist/types/common/sorting/index.d.ts.map +1 -1
- package/dist/types/form/form-definition/index.d.ts.map +1 -1
- package/dist/types/form/form-editor/index.d.ts +12 -12
- package/dist/types/form/form-editor/index.d.ts.map +1 -1
- package/dist/types/form/form-manager/index.d.ts.map +1 -1
- package/dist/types/form/form-metadata/index.d.ts.map +1 -1
- package/dist/types/form/form-submission/index.d.ts.map +1 -1
- package/package.json +6 -4
- package/schemas/component-schema-v2.json +162 -0
- package/schemas/component-schema.json +162 -0
- package/schemas/date-sub-schema.json +11 -0
- package/schemas/form-definition-schema.json +1876 -0
- package/schemas/form-definition-v2-payload-schema.json +1459 -0
- package/schemas/form-editor-input-check-answers-setting-schema.json +18 -0
- package/schemas/form-editor-input-page-schema.json +41 -0
- package/schemas/form-editor-input-page-settings-schema.json +28 -0
- package/schemas/form-editor-input-question-schema.json +38 -0
- package/schemas/form-metadata-author-schema.json +24 -0
- package/schemas/form-metadata-contact-schema.json +61 -0
- package/schemas/form-metadata-email-schema.json +25 -0
- package/schemas/form-metadata-input-schema.json +127 -0
- package/schemas/form-metadata-online-schema.json +25 -0
- package/schemas/form-metadata-schema.json +340 -0
- package/schemas/form-metadata-state-schema.json +72 -0
- package/schemas/form-submit-payload-schema.json +124 -0
- package/schemas/form-submit-record-schema.json +30 -0
- package/schemas/form-submit-recordset-schema.json +62 -0
- package/schemas/list-schema-v2.json +486 -0
- package/schemas/list-schema.json +486 -0
- package/schemas/max-future-schema.json +8 -0
- package/schemas/max-length-schema.json +8 -0
- package/schemas/max-past-schema.json +8 -0
- package/schemas/max-schema.json +7 -0
- package/schemas/min-length-schema.json +8 -0
- package/schemas/min-schema.json +7 -0
- package/schemas/page-schema-payload-v2.json +400 -0
- package/schemas/page-schema-v2.json +400 -0
- package/schemas/page-schema.json +400 -0
- package/schemas/page-type-schema.json +11 -0
- package/schemas/pagination-options-schema.json +27 -0
- package/schemas/patch-page-schema.json +26 -0
- package/schemas/query-options-schema.json +94 -0
- package/schemas/question-schema.json +7 -0
- package/schemas/question-type-full-schema.json +22 -0
- package/schemas/question-type-schema.json +20 -0
- package/schemas/search-options-schema.json +59 -0
- package/schemas/sorting-options-schema.json +28 -0
- package/schemas/written-answer-sub-schema.json +12 -0
- package/src/common/pagination/index.ts +8 -1
- package/src/common/search/index.ts +17 -3
- package/src/common/sorting/index.ts +8 -2
- package/src/form/form-definition/index.ts +567 -238
- package/src/form/form-editor/index.ts +202 -29
- package/src/form/form-manager/index.ts +11 -2
- package/src/form/form-metadata/index.ts +118 -40
- package/src/form/form-submission/index.ts +33 -10
- package/src/types/joi-to-json.d.ts +15 -0
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/form/form-metadata/index.ts"],"names":[],"mappings":"AAAA,OAAO,GAAG,MAAM,KAAK,CAAA;AAErB,OAAO,EACL,KAAK,YAAY,EACjB,KAAK,kBAAkB,EACvB,KAAK,mBAAmB,EACxB,KAAK,wBAAwB,EAC7B,KAAK,yBAAyB,EAC9B,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACvB,MAAM,mCAAmC,CAAA;AAE1C,eAAO,MAAM,aAAa,UAUzB,CAAA;AAED,eAAO,MAAM,QAAQ,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/form/form-metadata/index.ts"],"names":[],"mappings":"AAAA,OAAO,GAAG,MAAM,KAAK,CAAA;AAErB,OAAO,EACL,KAAK,YAAY,EACjB,KAAK,kBAAkB,EACvB,KAAK,mBAAmB,EACxB,KAAK,wBAAwB,EAC7B,KAAK,yBAAyB,EAC9B,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACvB,MAAM,mCAAmC,CAAA;AAE1C,eAAO,MAAM,aAAa,UAUzB,CAAA;AAED,eAAO,MAAM,QAAQ,0BAMlB,CAAA;AAEH,eAAO,MAAM,WAAW,0BAI+B,CAAA;AAEvD,eAAO,MAAM,UAAU,0BAGqC,CAAA;AAE5D,eAAO,MAAM,kBAAkB,0BAG8B,CAAA;AAE7D,eAAO,MAAM,cAAc,0BAIgC,CAAA;AAE3D,eAAO,MAAM,eAAe,0BAIyC,CAAA;AAErE,eAAO,MAAM,WAAW,0BAEiC,CAAA;AAEzD,eAAO,MAAM,kBAAkB,0BAI2B,CAAA;AAE1D,eAAO,MAAM,uBAAuB,0BAGwB,CAAA;AAE5D,eAAO,MAAM,WAAW,4CAK+C,CAAA;AAEvE,eAAO,MAAM,eAAe,0BAMmB,CAAA;AAE/C,eAAO,MAAM,gBAAgB,0BAGiC,CAAA;AAE9D,eAAO,MAAM,YAAY,6CAK6C,CAAA;AAEtE,eAAO,MAAM,aAAa,uCAM+C,CAAA;AAEzE,eAAO,MAAM,wBAAwB,0BAEkC,CAAA;AAEvE,eAAO,MAAM,sBAAsB,0BAKsB,CAAA;AAEzD,eAAO,MAAM,8BAA8B,0BAMxC,CAAA;AAEH,eAAO,MAAM,gBAAgB,sBAGoC,CAAA;AAEjE,eAAO,MAAM,cAAc,0BAGuB,CAAA;AAElD,eAAO,MAAM,uBAAuB,0BAGe,CAAA;AAEnD,eAAO,MAAM,qBAAqB;;;;;;;;;CASjC,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,uBAAuB,qCAG+B,CAAA;AAEnE;;;GAGG;AACH,eAAO,MAAM,wBAAwB,sCAMkC,CAAA;AAEvE;;;GAGG;AACH,eAAO,MAAM,uBAAuB,qCAaqC,CAAA;AAEzE;;;GAGG;AACH,eAAO,MAAM,kBAAkB,gCAiB5B,CAAA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/form/form-submission/index.ts"],"names":[],"mappings":"AAAA,OAAO,GAAG,MAAM,KAAK,CAAA;AAErB,OAAO,EACL,KAAK,aAAa,EAClB,KAAK,YAAY,EACjB,KAAK,eAAe,EACrB,MAAM,qCAAqC,CAAA;AAE5C;;;GAGG;AACH,eAAO,MAAM,sBAAsB,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/form/form-submission/index.ts"],"names":[],"mappings":"AAAA,OAAO,GAAG,MAAM,KAAK,CAAA;AAErB,OAAO,EACL,KAAK,aAAa,EAClB,KAAK,YAAY,EACjB,KAAK,eAAe,EACrB,MAAM,qCAAqC,CAAA;AAE5C;;;GAGG;AACH,eAAO,MAAM,sBAAsB,gCAW0B,CAAA;AAE7D;;;GAGG;AACH,eAAO,MAAM,yBAAyB,mCAayC,CAAA;AAE/E;;;GAGG;AACH,eAAO,MAAM,uBAAuB,iCAkB2C,CAAA"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@defra/forms-model",
|
3
|
-
"version": "3.0.
|
3
|
+
"version": "3.0.432",
|
4
4
|
"description": "A hapi plugin providing the model for Defra forms",
|
5
5
|
"homepage": "https://github.com/DEFRA/forms-designer/tree/main/model#readme",
|
6
6
|
"repository": {
|
@@ -14,21 +14,23 @@
|
|
14
14
|
"main": "dist/module/index.js",
|
15
15
|
"types": "dist/types/index.d.ts",
|
16
16
|
"scripts": {
|
17
|
-
"build": "npm run build:types && npm run build:node",
|
17
|
+
"build": "npm run build:types && npm run build:node && npm run build:schemas",
|
18
18
|
"build:node": "babel --delete-dir-on-start --extensions \".ts\" --ignore \"**/*.test.*\" --copy-files --no-copy-ignored --source-maps --out-dir ./dist/module ./src",
|
19
19
|
"build:types": "tsc --build --force tsconfig.build.json && tsc-alias --project tsconfig.build.json",
|
20
|
+
"build:schemas": "node scripts/generate-schemas.js",
|
20
21
|
"test": "jest --color --coverage --verbose",
|
21
22
|
"test:watch": "jest --color --watch"
|
22
23
|
},
|
23
24
|
"dependencies": {
|
24
25
|
"marked": "^15.0.7",
|
26
|
+
"nanoid": "^5.0.7",
|
25
27
|
"slug": "^10.0.0",
|
26
|
-
"uuid": "^11.1.0"
|
27
|
-
"nanoid": "^5.0.7"
|
28
|
+
"uuid": "^11.1.0"
|
28
29
|
},
|
29
30
|
"devDependencies": {
|
30
31
|
"@types/slug": "^5.0.9",
|
31
32
|
"joi": "^17.13.3",
|
33
|
+
"joi-to-json": "^4.3.1",
|
32
34
|
"tsc-alias": "^1.8.11"
|
33
35
|
},
|
34
36
|
"peerDependencies": {
|
@@ -0,0 +1,162 @@
|
|
1
|
+
{
|
2
|
+
"type": "object",
|
3
|
+
"description": "Enhanced component schema for V2 forms with auto-generated IDs",
|
4
|
+
"properties": {
|
5
|
+
"type": {
|
6
|
+
"type": "string",
|
7
|
+
"description": "Component type (TextField, RadioButtons, DateField, etc.)",
|
8
|
+
"title": "Type"
|
9
|
+
},
|
10
|
+
"shortDescription": {
|
11
|
+
"type": "string",
|
12
|
+
"description": "Brief description of the component purpose",
|
13
|
+
"title": "Short Description"
|
14
|
+
},
|
15
|
+
"name": {
|
16
|
+
"type": [
|
17
|
+
"array",
|
18
|
+
"boolean",
|
19
|
+
"number",
|
20
|
+
"object",
|
21
|
+
"string",
|
22
|
+
"null"
|
23
|
+
],
|
24
|
+
"oneOf": [
|
25
|
+
{
|
26
|
+
"type": "string",
|
27
|
+
"description": "Name format for display-only components like HTML, Markdown, etc.",
|
28
|
+
"pattern": "^[a-zA-Z]+$",
|
29
|
+
"title": "Display Component Name"
|
30
|
+
},
|
31
|
+
{
|
32
|
+
"type": "string",
|
33
|
+
"description": "Name format for input components that collect user data.",
|
34
|
+
"pattern": "^[a-zA-Z]+$",
|
35
|
+
"title": "Input Component Name"
|
36
|
+
}
|
37
|
+
],
|
38
|
+
"title": "Name",
|
39
|
+
"description": "The name value.",
|
40
|
+
"oneOfTitles": [
|
41
|
+
"Display Component Name",
|
42
|
+
"Input Component Name"
|
43
|
+
]
|
44
|
+
},
|
45
|
+
"title": {
|
46
|
+
"type": [
|
47
|
+
"array",
|
48
|
+
"boolean",
|
49
|
+
"number",
|
50
|
+
"object",
|
51
|
+
"string",
|
52
|
+
"null"
|
53
|
+
],
|
54
|
+
"oneOf": [
|
55
|
+
{
|
56
|
+
"type": "string",
|
57
|
+
"description": "Title format for display-only components.",
|
58
|
+
"title": "Display Component Title"
|
59
|
+
},
|
60
|
+
{
|
61
|
+
"type": "string",
|
62
|
+
"description": "Title displayed above input components.",
|
63
|
+
"title": "Input Component Title"
|
64
|
+
}
|
65
|
+
],
|
66
|
+
"title": "Title",
|
67
|
+
"description": "The title value.",
|
68
|
+
"oneOfTitles": [
|
69
|
+
"Display Component Title",
|
70
|
+
"Input Component Title"
|
71
|
+
]
|
72
|
+
},
|
73
|
+
"hint": {
|
74
|
+
"type": "string",
|
75
|
+
"description": "Additional guidance text displayed below the component title",
|
76
|
+
"title": "Hint"
|
77
|
+
},
|
78
|
+
"options": {
|
79
|
+
"type": "object",
|
80
|
+
"description": "Component-specific configuration options",
|
81
|
+
"default": {},
|
82
|
+
"properties": {
|
83
|
+
"rows": {
|
84
|
+
"type": "number",
|
85
|
+
"description": "Number of rows for textarea components",
|
86
|
+
"title": "Rows"
|
87
|
+
},
|
88
|
+
"maxWords": {
|
89
|
+
"type": "number",
|
90
|
+
"description": "Maximum number of words allowed in text inputs",
|
91
|
+
"title": "Max Words"
|
92
|
+
},
|
93
|
+
"maxDaysInPast": {
|
94
|
+
"type": "number",
|
95
|
+
"description": "Maximum days in the past allowed for date inputs",
|
96
|
+
"title": "Max Days In Past"
|
97
|
+
},
|
98
|
+
"maxDaysInFuture": {
|
99
|
+
"type": "number",
|
100
|
+
"description": "Maximum days in the future allowed for date inputs",
|
101
|
+
"title": "Max Days In Future"
|
102
|
+
},
|
103
|
+
"customValidationMessage": {
|
104
|
+
"type": "string",
|
105
|
+
"description": "Custom error message for validation failures",
|
106
|
+
"title": "Custom Validation Message"
|
107
|
+
},
|
108
|
+
"customValidationMessages": {
|
109
|
+
"type": "object",
|
110
|
+
"description": "Custom error messages keyed by validation rule name",
|
111
|
+
"properties": {},
|
112
|
+
"additionalProperties": true,
|
113
|
+
"title": "Custom Validation Messages"
|
114
|
+
}
|
115
|
+
},
|
116
|
+
"additionalProperties": true,
|
117
|
+
"title": "Options"
|
118
|
+
},
|
119
|
+
"schema": {
|
120
|
+
"type": "object",
|
121
|
+
"description": "Validation rules for the component",
|
122
|
+
"default": {},
|
123
|
+
"properties": {
|
124
|
+
"min": {
|
125
|
+
"type": "number",
|
126
|
+
"description": "Minimum value or length for validation",
|
127
|
+
"title": "Min"
|
128
|
+
},
|
129
|
+
"max": {
|
130
|
+
"type": "number",
|
131
|
+
"description": "Maximum value or length for validation",
|
132
|
+
"title": "Max"
|
133
|
+
},
|
134
|
+
"length": {
|
135
|
+
"type": "number",
|
136
|
+
"description": "Exact length required for validation",
|
137
|
+
"title": "Length"
|
138
|
+
}
|
139
|
+
},
|
140
|
+
"additionalProperties": true,
|
141
|
+
"title": "Schema"
|
142
|
+
},
|
143
|
+
"list": {
|
144
|
+
"type": "string",
|
145
|
+
"description": "Reference to a predefined list of options for select components",
|
146
|
+
"title": "List"
|
147
|
+
},
|
148
|
+
"id": {
|
149
|
+
"type": "string",
|
150
|
+
"description": "Auto-generated unique identifier for the component",
|
151
|
+
"format": "uuid",
|
152
|
+
"title": "Id"
|
153
|
+
}
|
154
|
+
},
|
155
|
+
"required": [
|
156
|
+
"type"
|
157
|
+
],
|
158
|
+
"additionalProperties": true,
|
159
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
160
|
+
"title": "Component Schema V2",
|
161
|
+
"$id": "@defra/forms-model/schemas/component-schema-v2.json"
|
162
|
+
}
|
@@ -0,0 +1,162 @@
|
|
1
|
+
{
|
2
|
+
"type": "object",
|
3
|
+
"description": "Form component definition specifying UI element behavior",
|
4
|
+
"properties": {
|
5
|
+
"id": {
|
6
|
+
"type": "string",
|
7
|
+
"description": "Unique identifier for the component",
|
8
|
+
"format": "uuid",
|
9
|
+
"title": "Id"
|
10
|
+
},
|
11
|
+
"type": {
|
12
|
+
"type": "string",
|
13
|
+
"description": "Component type (TextField, RadioButtons, DateField, etc.)",
|
14
|
+
"title": "Type"
|
15
|
+
},
|
16
|
+
"shortDescription": {
|
17
|
+
"type": "string",
|
18
|
+
"description": "Brief description of the component purpose",
|
19
|
+
"title": "Short Description"
|
20
|
+
},
|
21
|
+
"name": {
|
22
|
+
"type": [
|
23
|
+
"array",
|
24
|
+
"boolean",
|
25
|
+
"number",
|
26
|
+
"object",
|
27
|
+
"string",
|
28
|
+
"null"
|
29
|
+
],
|
30
|
+
"oneOf": [
|
31
|
+
{
|
32
|
+
"type": "string",
|
33
|
+
"description": "Name format for display-only components like HTML, Markdown, etc.",
|
34
|
+
"pattern": "^[a-zA-Z]+$",
|
35
|
+
"title": "Display Component Name"
|
36
|
+
},
|
37
|
+
{
|
38
|
+
"type": "string",
|
39
|
+
"description": "Name format for input components that collect user data.",
|
40
|
+
"pattern": "^[a-zA-Z]+$",
|
41
|
+
"title": "Input Component Name"
|
42
|
+
}
|
43
|
+
],
|
44
|
+
"title": "Name",
|
45
|
+
"description": "The name value.",
|
46
|
+
"oneOfTitles": [
|
47
|
+
"Display Component Name",
|
48
|
+
"Input Component Name"
|
49
|
+
]
|
50
|
+
},
|
51
|
+
"title": {
|
52
|
+
"type": [
|
53
|
+
"array",
|
54
|
+
"boolean",
|
55
|
+
"number",
|
56
|
+
"object",
|
57
|
+
"string",
|
58
|
+
"null"
|
59
|
+
],
|
60
|
+
"oneOf": [
|
61
|
+
{
|
62
|
+
"type": "string",
|
63
|
+
"description": "Title format for display-only components.",
|
64
|
+
"title": "Display Component Title"
|
65
|
+
},
|
66
|
+
{
|
67
|
+
"type": "string",
|
68
|
+
"description": "Title displayed above input components.",
|
69
|
+
"title": "Input Component Title"
|
70
|
+
}
|
71
|
+
],
|
72
|
+
"title": "Title",
|
73
|
+
"description": "The title value.",
|
74
|
+
"oneOfTitles": [
|
75
|
+
"Display Component Title",
|
76
|
+
"Input Component Title"
|
77
|
+
]
|
78
|
+
},
|
79
|
+
"hint": {
|
80
|
+
"type": "string",
|
81
|
+
"description": "Additional guidance text displayed below the component title",
|
82
|
+
"title": "Hint"
|
83
|
+
},
|
84
|
+
"options": {
|
85
|
+
"type": "object",
|
86
|
+
"description": "Component-specific configuration options",
|
87
|
+
"default": {},
|
88
|
+
"properties": {
|
89
|
+
"rows": {
|
90
|
+
"type": "number",
|
91
|
+
"description": "Number of rows for textarea components",
|
92
|
+
"title": "Rows"
|
93
|
+
},
|
94
|
+
"maxWords": {
|
95
|
+
"type": "number",
|
96
|
+
"description": "Maximum number of words allowed in text inputs",
|
97
|
+
"title": "Max Words"
|
98
|
+
},
|
99
|
+
"maxDaysInPast": {
|
100
|
+
"type": "number",
|
101
|
+
"description": "Maximum days in the past allowed for date inputs",
|
102
|
+
"title": "Max Days In Past"
|
103
|
+
},
|
104
|
+
"maxDaysInFuture": {
|
105
|
+
"type": "number",
|
106
|
+
"description": "Maximum days in the future allowed for date inputs",
|
107
|
+
"title": "Max Days In Future"
|
108
|
+
},
|
109
|
+
"customValidationMessage": {
|
110
|
+
"type": "string",
|
111
|
+
"description": "Custom error message for validation failures",
|
112
|
+
"title": "Custom Validation Message"
|
113
|
+
},
|
114
|
+
"customValidationMessages": {
|
115
|
+
"type": "object",
|
116
|
+
"description": "Custom error messages keyed by validation rule name",
|
117
|
+
"properties": {},
|
118
|
+
"additionalProperties": true,
|
119
|
+
"title": "Custom Validation Messages"
|
120
|
+
}
|
121
|
+
},
|
122
|
+
"additionalProperties": true,
|
123
|
+
"title": "Options"
|
124
|
+
},
|
125
|
+
"schema": {
|
126
|
+
"type": "object",
|
127
|
+
"description": "Validation rules for the component",
|
128
|
+
"default": {},
|
129
|
+
"properties": {
|
130
|
+
"min": {
|
131
|
+
"type": "number",
|
132
|
+
"description": "Minimum value or length for validation",
|
133
|
+
"title": "Min"
|
134
|
+
},
|
135
|
+
"max": {
|
136
|
+
"type": "number",
|
137
|
+
"description": "Maximum value or length for validation",
|
138
|
+
"title": "Max"
|
139
|
+
},
|
140
|
+
"length": {
|
141
|
+
"type": "number",
|
142
|
+
"description": "Exact length required for validation",
|
143
|
+
"title": "Length"
|
144
|
+
}
|
145
|
+
},
|
146
|
+
"additionalProperties": true,
|
147
|
+
"title": "Schema"
|
148
|
+
},
|
149
|
+
"list": {
|
150
|
+
"type": "string",
|
151
|
+
"description": "Reference to a predefined list of options for select components",
|
152
|
+
"title": "List"
|
153
|
+
}
|
154
|
+
},
|
155
|
+
"required": [
|
156
|
+
"type"
|
157
|
+
],
|
158
|
+
"additionalProperties": true,
|
159
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
160
|
+
"title": "Component Schema",
|
161
|
+
"$id": "@defra/forms-model/schemas/component-schema.json"
|
162
|
+
}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
{
|
2
|
+
"type": "string",
|
3
|
+
"enum": [
|
4
|
+
"DatePartsField",
|
5
|
+
"MonthYearField"
|
6
|
+
],
|
7
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
8
|
+
"title": "Date Sub Schema",
|
9
|
+
"description": "JSON Schema for validating Date Sub Schema in Defra forms",
|
10
|
+
"$id": "@defra/forms-model/schemas/date-sub-schema.json"
|
11
|
+
}
|