-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathai.yml
116 lines (85 loc) · 2.74 KB
/
ai.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
---
# APIs JSON/YAML Specification Details
specificationVersion: '0.1'
specificationType: 'AI'
# Overview of this API
name: Example API
description: This is an APIs JSON/YAML focused on providing inputs for AI / ML.
image: https://kinlane-productions.s3.amazonaws.com/apis-json/apis-json-logo.jpg
url: http://example.com/apis.json
# Tags for helping organize
tags:
- Application Programming Interface
- API
- AI
- ML
# Time frame for API evolution
created: '2023-07-19'
modified: '2023-07-19'
# Contracts
contracts:
guidance: https://example.com/governance/guidance/
openapi:
version: 3.1
url: https://example.com/openapi
environments:
guidance: https://example.com/environment/guidance/
ares:
# Environment for development
- name: North America
region: us
url: 'https://www.postman.com/environment'
variables:
base_url: 'http://example.com/development'
api_key: 'xe3847d3J78393jkdm1123'
# Environment for production
- name: Europe
region: eu
url: 'https://www.postman.com/environment'
variables:
base_url: 'http://example.com/production'
api_key: 'xe3847d3J78393jkdm1123'
# Governance
governance:
guidance: https://example.com/governance/guidance/
ares:
- type: lifecycle-rules
title: Lifecycle Rules
description: Spectral rules governing this APIs JSON/YAML definition.
url: 'https://example.com/design-rules'
- type: design-rules
title: Design Rules
description: Spectral rules governing the design of the API using OpenAPI.
url: 'https://example.com/design-rules'
provenance:
guidance: https://example.com/provenance/guidance/
ares:
- type: lifecycle-rules
title: Lifecycle Rules
description: Spectral rules governing this APIs JSON/YAML definition.
url: 'https://example.com/design-rules'
- type: design-rules
title: Design Rules
description: Spectral rules governing the design of the API using OpenAPI.
url: 'https://example.com/design-rules'
# The legal department
legal:
guidance: https://example.com/provenance/guidance/
ares:
- type: terms-of-service
title: Terms of Service
description: The terms of use for the API being applied.
url: 'https://example.com/tos/'
- type: api-commons
title: API Commons
description: The API commons license for the API>
url: 'https://example.com/api-commons-license/'
# Other Related APIs to Include
include:
- name: Another Example API
url: http://example.com/apis.json
# Who is Maintaining this APIs JSON/YAML
maintainers:
- FN: Kin Lane
X-twitter: apievangelist
email: [email protected]