Skip to content

Instantly share code, notes, and snippets.

View kinlane's full-sized avatar

Kin Lane kinlane

View GitHub Profile
@kinlane
kinlane / json-schema-spectral-rules-1.yml
Last active November 21, 2024 17:55
json-schema-spectral-rules-1
---
rules:
# ID
json-schema-2020-12-id-error:
description: Schema MUST have a unique identifier for each object.
message: Schema MUST Have a $id.
severity: error
given: $
then:
@kinlane
kinlane / add-api-test.json
Last active November 14, 2024 23:46
add api test json
{
"aid": "test-add-6",
"name": "Testing Adding 666 API",
"type": "Contract",
"description": "This is a contract APIs.json, providing a boilerplate contract that an API consumer, or potential API consumer can use to express what is expected when one company provides an API to another company.",
"image": "https://kinlane-productions.s3.amazonaws.com/apis-json/apis-json-logo.jpg",
"tags": [
"Application Programming Interface",
"API",
"Contract"
@kinlane
kinlane / add-api-test.yml
Created November 14, 2024 22:31
Add API Test
aid: test-add-1
name: Testing Adding API
type: Contract
description: |-
This is a contract APIs.json, providing a boilerplate contract that an API consumer, or potential API consumer can use to express what is expected when one company provides an API to another company.
image: https://kinlane-productions.s3.amazonaws.com/apis-json/apis-json-logo.jpg
tags:
- Application Programming Interface
- API
@kinlane
kinlane / arazzo-json-schema.yml
Created October 26, 2024 17:45
Arazzo JSON Schema
$id: 'https://spec.openapis.org/arazzo/1.0/schema/2024-08-01'
$schema: 'https://json-schema.org/draft/2020-12/schema'
description: |-
The description of OpenAPI Initiative Arazzo v1.0.0 documents
without schema validation, as defined by https://spec.openapis.org/arazzo/v1.0.0
type: object
properties:
arazzo:
description: The version number of the Arazzo Specification
type: string
@kinlane
kinlane / mastercard-fdx.yml
Created October 25, 2024 20:24
Mastercard Developer Hub for FDX APIs
aid: mastercard-fdx
name: Mastercard Developer Hub for FDX APIs
type: Index
description: |-
The Financial Data Exchange (FDX) is a nonprofit industry standards body that created the FDX API, a technical standard for user-permissioned financial data sharing. The FDX API standard, like other data sharing methods used in open banking, gives consumers more control over who can access their financial data. The open banking industry is founded on the principles of interoperability, which are being advanced by forthcoming rulemaking from the The Consumer Financial Protection Bureau (CFPB).
image: https://kinlane-productions.s3.amazonaws.com/apis-json/apis-json-logo.jpg
tags:
- Banking
- Open Banking
- FDX
@kinlane
kinlane / sign-up-login-keys.yml
Created October 21, 2024 16:02
Signup Login and Keys
- type: Sign-Up
url: 'https://developer.apis.io/signup/'
- type: Login
url: 'https://developer.apis.io/login/'
- type: Keys
url: 'https://developer.apis.io/keys/'
@kinlane
kinlane / plans-human-readable.yml
Created October 21, 2024 16:01
Plans - Human
- type: Plans
url: 'https://developer.apis.io/plans/'
@kinlane
kinlane / plans.yml
Created October 21, 2024 15:54
Plans
- id: starter
name: Starter
description: The default API access plan, where every new account begins, allowing the consumer to kick the tires, and see what the API is all about.
entries:
- label: API calls
description: to the search API
metric: calls
limit: 25
timeFrame: day
geo: US
@kinlane
kinlane / json-api-openapi.yml
Created October 10, 2024 17:02
JSON:API OpenAPI
openapi: 3.0.0
info:
title: JSON:API OpenAPI
description: A base OpenAPI for the JSON:API to be used as seed for new APIs.
version: 1.0.0
tags:
- name: Resources
description: An array of JSON:API resources.
@kinlane
kinlane / json-api-json-schema.json
Last active October 10, 2024 18:38
JSON:API JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "JSON:API JSON Schema",
"description": "This is a JSON Schema for responses in the JSON:API format. For more, see http://jsonapi.org.",
"type": "object",
"required": [
"data"
],
"properties": {
"data": {