Skip to content

Commit 4f62ad3

Browse files
moved schema into definitions; fixed tag
1 parent 9690943 commit 4f62ad3

File tree

1 file changed

+16
-12
lines changed

1 file changed

+16
-12
lines changed

schemas/smartapi_schema.json

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"title": "The smartAPI extension to OpenAPI 3.0.",
3-
"$id": "https://raw.githubusercontent.com/SmartAPI/smartAPI-Specification/OpenAPI.next/schemas/smartapi_schema.json",
3+
"id": "https://raw.githubusercontent.com/SmartAPI/smartAPI-Specification/OpenAPI.next/schemas/smartapi_schema.json2#",
44
"$schema": "http://json-schema.org/draft-06/schema#",
55
"type": "object",
66
"description": "This is the root document object of the smartAPI definition file.",
@@ -155,9 +155,21 @@
155155
}
156156
},
157157
"tag": {
158-
"x-id": {
159-
"type": "string",
160-
"description": "The name of the tag. Recommend that you use URI to specify the concept."
158+
"properties": {
159+
160+
"x-id": {
161+
"type": "string",
162+
"description": "The name of the tag. Recommend that you use URI to specify the concept."
163+
}
164+
}
165+
},
166+
167+
"schema": {
168+
"properties": {
169+
"x-url": {
170+
"type": "string",
171+
"description": "The URL to a non-JSON schema."
172+
}
161173
}
162174
},
163175
"specificationExtension": {
@@ -182,13 +194,5 @@
182194
}
183195
]
184196
}
185-
},
186-
"schema": {
187-
"properties": {
188-
"x-url": {
189-
"type": "string",
190-
"description": "The URL to a non-JSON schema."
191-
}
192-
}
193197
}
194198
}

0 commit comments

Comments
 (0)