-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaggregation-api-catalog-entry-schema.json
More file actions
66 lines (66 loc) · 2.18 KB
/
Copy pathaggregation-api-catalog-entry-schema.json
File metadata and controls
66 lines (66 loc) · 2.18 KB
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
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/aggregation/refs/heads/main/json-schema/aggregation-api-catalog-entry-schema.json",
"title": "APICatalogEntry",
"description": "An entry in an API catalog or directory describing a single API provider.",
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Name of the API.",
"example": "Stripe Payments API"
},
"description": {
"type": "string",
"description": "Brief description of the API's functionality.",
"example": "Accept payments, send payouts, and manage subscriptions with Stripe's payments API."
},
"provider": {
"type": "string",
"description": "Company or organization providing the API.",
"example": "Stripe"
},
"category": {
"type": "string",
"description": "Business domain category of the API.",
"example": "Payments"
},
"base_url": {
"type": "string",
"format": "uri",
"description": "Base URL of the API.",
"example": "https://api.stripe.com"
},
"documentation_url": {
"type": "string",
"format": "uri",
"description": "URL to the API's documentation.",
"example": "https://stripe.com/docs/api"
},
"openapi_url": {
"type": "string",
"format": "uri",
"description": "URL to an OpenAPI specification for this API.",
"example": "https://raw.githubusercontent.com/stripe/openapi/master/openapi/spec3.json"
},
"pricing_model": {
"type": "string",
"enum": ["free", "freemium", "paid", "usage-based"],
"description": "Pricing model for accessing this API.",
"example": "usage-based"
},
"authentication_types": {
"type": "array",
"description": "Authentication methods supported by this API.",
"items": { "type": "string" },
"example": ["bearer", "apikey"]
},
"tags": {
"type": "array",
"description": "Tags categorizing this API.",
"items": { "type": "string" },
"example": ["Payments", "Finance", "E-Commerce"]
}
},
"required": ["name", "provider", "category"]
}