Skip to content

Commit a83538c

Browse files
added otherContacts
1 parent 12c185e commit a83538c

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

schemas/smartapi_schema.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,12 @@
9292
},
9393
"version": {
9494
"type": "string"
95+
},
96+
"x-otherContacts": {
97+
"type": "array",
98+
"items": {
99+
"$ref": "#/definitions/contact"
100+
}
95101
},
96102
"x-accessRestriction": {
97103
"type": "string",
@@ -146,7 +152,7 @@
146152
},
147153
"x-id": {
148154
"type": "string",
149-
"description": "An HTTP identifier for the contact (e.g. orcid id github id)"
155+
"description": "A resolvable HTTP URI that uniqely identifies the contact (e.g. orcid id github id)"
150156
}
151157
}
152158
},

versions/3.0.0.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,7 @@ Field Name | Type | Description
228228
<a name="infoDescription"></a>description | `string` | **SHOULD** See <a href="#fixed-fields-1">above</a>.
229229
<a name="infoTermsOfService"></a>termsOfService | `URL` | **REQUIRED** See <a href="#fixed-fields-1">above</a>.
230230
<a name="infoVersion"></a>version | `string` | **REQUIRED** The version of the API definition. Specify API version using <a href="http://semver.org/spec/v2.0.0.html">Semantic Versioning<a/>. The major.minor portion of the semver (for example 3.0) shall designate the feature set. Typically, .patch versions address errors in the API metadata, not the feature set.
231+
<a name="otherContacts"></a>contacts | [[Contact Object](#contactObject)] | A list of other contacts.
231232
<a name="infoAccessRestriction"></a>x-accessRestriction | `enum` | Indicate whether there are restrictions to using the API. Values to use: none, limited, fee.
232233
<a name="infoImplementationLanguage"></a>x-implementationLanguage | `string` | Language the API was written in.
233234

@@ -289,7 +290,6 @@ Field Name | Type | Description
289290
<a name="contactRole"></a>x-role | `enum` | **REQUIRED** Indicate the role of the contact. Values can be: `responsible organization`,`responsible developer`,`contributor`,`support`.
290291
<a name="contactId"></a>x-id | `string` | **SHOULD** A unique identifiers for the contact.
291292

292-
293293
##### Contact Object Example:
294294

295295
```json

0 commit comments

Comments
 (0)