Skip to content

Commit 12c185e

Browse files
change back list of ids to a single one
1 parent f076006 commit 12c185e

File tree

2 files changed

+3
-13
lines changed

2 files changed

+3
-13
lines changed

schemas/smartapi_schema.json

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -145,18 +145,8 @@
145145
"description": "The role of the contact person. Values can be: responsible organization,responsible developer,contributor,support."
146146
},
147147
"x-id": {
148-
"oneOf": [
149-
{
150-
"type": "array",
151-
"item": {
152-
"type": "string"
153-
}
154-
},
155-
{
156-
"type": "string"
157-
}
158-
],
159-
"description": "The identifier of of the contact person (e.g. orchid Id)"
148+
"type": "string",
149+
"description": "An HTTP identifier for the contact (e.g. orcid id github id)"
160150
}
161151
}
162152
},

versions/3.0.0.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ This object MAY be extended with [Specification Extensions](#specificationExtens
287287
Field Name | Type | Description
288288
---|:---:|---
289289
<a name="contactRole"></a>x-role | `enum` | **REQUIRED** Indicate the role of the contact. Values can be: `responsible organization`,`responsible developer`,`contributor`,`support`.
290-
<a name="contactId"></a>x-id | [`string`] | **SHOULD** One or more unique identifiers for the contact.
290+
<a name="contactId"></a>x-id | `string` | **SHOULD** A unique identifiers for the contact.
291291

292292

293293
##### Contact Object Example:

0 commit comments

Comments
 (0)