Skip to content

Commit 9e3b245

Browse files
Create smartapi-list.md
1 parent 19fe55b commit 9e3b245

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

versions/smartapi-list.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
Object | Field | Recommendation | Datatype | Description
2+
---|:---:|:---:|:---:|---
3+
OpenAPI Object|x-externalResources||External Resource Object|A list of external resources pertinent to the API.
4+
Info Object|description|SHOULD| string |See <a href="https://github.com/WebsmartAPI/OpenAPI-Specification/blob/OpenAPI.next/versions/3.0.md#fixed-fields-1">above</a>.
5+
Info Object|termsOfService|REQUIRED| URL |See <a href="https://github.com/WebsmartAPI/OpenAPI-Specification/blob/OpenAPI.next/versions/3.0.md#fixed-fields-1">above</a>.
6+
Info Object|version|REQUIRED| string |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.
7+
Info Object|x-maturity|| enum |Maturity of the API. Values to use: development, production.
8+
Info Object|x-accessRestriction|| enum |Indicate whether there are restrictions to using the API. Values to use: none, limited, fee.
9+
Info Object|x-implementationLanguage|| string |Language the API was written in.
10+
Contact Object|x-role|REQUIRED| enum |Indicate the role of the contact. Values can be: `responsible organization`,`responsible developer`,`contributor`,`support`.
11+
Contact Object|x-id|SHOULD| string |Provide a unique identifier for the contact.
12+
Operation Object|summary|REQUIRED| string |See <a href="https://github.com/WebsmartAPI/OpenAPI-Specification/blob/OpenAPI.next/versions/3.0.md#operation-object">above.</a>
13+
Operation Object|x-accessRestriction|| enum |Access restrictions to invoke the operation. values: none, limited, fee.
14+
External Resource Object [smartAPI extension]|x-url|REQUIRED| string |. The URL for the target documentation. Value MUST be in the format of a URL.
15+
External Resource Object [smartAPI extension]|x-type|REQUIRED| enum |values: `api documentation`, `website`,`developer forum`,`mailing list`,`social media`,`publication` </a>
16+
External Resource Object [smartAPI extension]|x-description|| string |A short description of the target documentation. [CommonMark syntax](http://spec.commonmark.org/) can be used for rich text representation.
17+
Parameter Object|x-parameterType|SHOULD| uri |A concept URI to describe the type of parameter.
18+
Parameter Object|x-valueType|SHOULD| [uri] |A list of URIs to define the types of accepted value types. These should be selected from a registry of value types such as identifiers.org. This attribute is different from
19+
Parameter Object|x-defaultValue|| string |Default value.
20+
Parameter Object|x-exampleValue|| string |Example value.
21+
Response Object|content|| Map[string, [Media Type Object](#mediaTypeObject)] |A map containing descriptions of potential response payloads. The key is the media type and the value is used to describe it.The media type definitions should be in compliance with <a href="http://tools.ietf.org/html/rfc6838">RFC6838</a>.
22+
Response Object|x-responseSchema|| URI |Conformance to a particular schema/format.
23+
Response Object|x-responseValueType|| [responseValueType object] |To specify the types of objects in the response. The responseValueType object consists of a required `x-valueType` that should provide URI values to the type of object, and an optional `x-path` to specify to ___location in the response for that valueType.
24+
Response Object|x-JSONLDContext|| URI |JSON LD context.
25+
Tag Object|x-id|| URI |The name of the tag. Recommend that you use URI to specify the concept.

0 commit comments

Comments
 (0)