replace schema symlinks with actual files

This commit is contained in:
risk danger olson 2017-02-13 11:43:31 -07:00
parent e3215ecbe6
commit 9084faa789
14 changed files with 267 additions and 274 deletions

@ -1,37 +0,0 @@
{
"$schema": "http://json-schema.org/draft-04/schema",
"title": "Git LFS HTTPS Batch API Request",
"type": "object",
"properties": {
"transfers": {
"type": "array",
"items": {
"type": "string"
}
},
"operation": {
"type": "string"
},
"objects": {
"type": "array",
"items": {
"type": "object",
"properties": {
"oid": {
"type": "string"
},
"size": {
"type": "number",
"minimum": 0
},
"authenticated": {
"type": "boolean"
}
},
"required": ["oid", "size"],
"additionalProperties": false
}
}
},
"required": ["objects", "operation"]
}

@ -1,83 +0,0 @@
{
"$schema": "http://json-schema.org/draft-04/schema",
"title": "Git LFS HTTPS Batch API Response",
"type": "object",
"definitions": {
"action": {
"type": "object",
"properties": {
"href": {
"type": "string"
},
"header": {
"type": "object",
"additionalProperties": true
},
"expires_at": {
"type": "string"
}
},
"required": ["href"],
"additionalProperties": false
}
},
"properties": {
"transfer": {
"type": "string"
},
"objects": {
"type": "array",
"items": {
"type": "object",
"properties": {
"oid": {
"type": "string"
},
"size": {
"type": "number",
"minimum": 0
},
"authenticated": {
"type": "boolean"
},
"actions": {
"type": "object",
"properties": {
"download": { "$ref": "#/definitions/action" },
"upload": { "$ref": "#/definitions/action" },
"verify": { "$ref": "#/definitions/action" }
},
"additionalProperties": false
},
"error": {
"type": "object",
"properties": {
"code": {
"type": "number"
},
"message": {
"type": "string"
}
},
"required": ["code", "message"],
"additionalProperties": false
}
},
"required": ["oid", "size"],
"additionalProperties": false
}
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"documentation_url": {
"type": "string"
}
},
"required": ["objects"]
}

@ -1,11 +0,0 @@
{
"$schema": "http://json-schema.org/draft-04/schema",
"title": "Git LFS HTTPS Lock Creation API Request",
"type": "object",
"properties": {
"path": {
"type": "string"
}
},
"required": ["path"]
}

@ -1,40 +0,0 @@
{
"$schema": "http://json-schema.org/draft-04/schema",
"title": "Git LFS HTTPS Lock Creation API Response",
"type": "object",
"properties": {
"lock": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"path": {
"type": "string"
},
"locked_at": {
"type": "string"
},
"owner": {
"type": "object",
"properties": {
"name": {
"type": "string"
}
}
}
},
"required": ["id", "path"]
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"documentation_url": {
"type": "string"
}
},
"required": ["lock"]
}

@ -1,10 +0,0 @@
{
"$schema": "http://json-schema.org/draft-04/schema",
"title": "Git LFS HTTPS Lock Deletion API Request",
"type": "object",
"properties": {
"force": {
"type": "boolean"
}
}
}

@ -1,36 +0,0 @@
{
"$schema": "http://json-schema.org/draft-04/schema",
"title": "Git LFS HTTPS Lock List API Response",
"type": "object",
"properties": {
"locks": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"path": {
"type": "string"
},
"locked_at": {
"type": "string"
},
"owner": {
"type": "object",
"properties": {
"name": {
"type": "string"
}
}
}
}
}
},
"next_cursor": {
"type": "string"
}
},
"required": ["locks"]
}

@ -1,50 +0,0 @@
{
"$schema": "http://json-schema.org/draft-04/schema",
"title": "Git LFS HTTPS Lock Verify API Response",
"type": "object",
"definitions": {
"lock": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"path": {
"type": "string"
},
"locked_at": {
"type": "string"
},
"owner": {
"type": "object",
"properties": {
"name": {
"type": "string"
}
}
}
},
"required": ["id", "path"]
}
},
"properties": {
"ours": {
"type": "array",
"items": {
"$ref": "#/definitions/lock"
}
},
"theirs": {
"type": "array",
"items": {
"$ref": "#/definitions/lock"
}
},
"next_cursor": {
"type": "string"
}
},
"required": ["ours", "theirs"]
}

@ -1 +0,0 @@
../../docs/api/schemas/http-lock-create-request-schema.json

@ -0,0 +1,11 @@
{
"$schema": "http://json-schema.org/draft-04/schema",
"title": "Git LFS HTTPS Lock Creation API Request",
"type": "object",
"properties": {
"path": {
"type": "string"
}
},
"required": ["path"]
}

@ -1 +0,0 @@
../../docs/api/schemas/http-lock-create-response-schema.json

@ -0,0 +1,40 @@
{
"$schema": "http://json-schema.org/draft-04/schema",
"title": "Git LFS HTTPS Lock Creation API Response",
"type": "object",
"properties": {
"lock": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"path": {
"type": "string"
},
"locked_at": {
"type": "string"
},
"owner": {
"type": "object",
"properties": {
"name": {
"type": "string"
}
}
}
},
"required": ["id", "path"]
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"documentation_url": {
"type": "string"
}
},
"required": ["lock"]
}

@ -1 +0,0 @@
../../docs/api/schemas/http-lock-delete-request-schema.json

@ -0,0 +1,10 @@
{
"$schema": "http://json-schema.org/draft-04/schema",
"title": "Git LFS HTTPS Lock Deletion API Request",
"type": "object",
"properties": {
"force": {
"type": "boolean"
}
}
}

@ -1 +0,0 @@
../../docs/api/schemas/http-lock-list-response-schema.json

@ -0,0 +1,36 @@
{
"$schema": "http://json-schema.org/draft-04/schema",
"title": "Git LFS HTTPS Lock List API Response",
"type": "object",
"properties": {
"locks": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"path": {
"type": "string"
},
"locked_at": {
"type": "string"
},
"owner": {
"type": "object",
"properties": {
"name": {
"type": "string"
}
}
}
}
}
},
"next_cursor": {
"type": "string"
}
},
"required": ["locks"]
}

@ -1 +0,0 @@
../../docs/api/schemas/http-lock-verify-response-schema.json

@ -0,0 +1,50 @@
{
"$schema": "http://json-schema.org/draft-04/schema",
"title": "Git LFS HTTPS Lock Verify API Response",
"type": "object",
"definitions": {
"lock": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"path": {
"type": "string"
},
"locked_at": {
"type": "string"
},
"owner": {
"type": "object",
"properties": {
"name": {
"type": "string"
}
}
}
},
"required": ["id", "path"]
}
},
"properties": {
"ours": {
"type": "array",
"items": {
"$ref": "#/definitions/lock"
}
},
"theirs": {
"type": "array",
"items": {
"$ref": "#/definitions/lock"
}
},
"next_cursor": {
"type": "string"
}
},
"required": ["ours", "theirs"]
}

@ -1 +0,0 @@
../../docs/api/schemas/http-batch-request-schema.json

@ -0,0 +1,37 @@
{
"$schema": "http://json-schema.org/draft-04/schema",
"title": "Git LFS HTTPS Batch API Request",
"type": "object",
"properties": {
"transfers": {
"type": "array",
"items": {
"type": "string"
}
},
"operation": {
"type": "string"
},
"objects": {
"type": "array",
"items": {
"type": "object",
"properties": {
"oid": {
"type": "string"
},
"size": {
"type": "number",
"minimum": 0
},
"authenticated": {
"type": "boolean"
}
},
"required": ["oid", "size"],
"additionalProperties": false
}
}
},
"required": ["objects", "operation"]
}

@ -1 +0,0 @@
../../docs/api/schemas/http-batch-response-schema.json

@ -0,0 +1,83 @@
{
"$schema": "http://json-schema.org/draft-04/schema",
"title": "Git LFS HTTPS Batch API Response",
"type": "object",
"definitions": {
"action": {
"type": "object",
"properties": {
"href": {
"type": "string"
},
"header": {
"type": "object",
"additionalProperties": true
},
"expires_at": {
"type": "string"
}
},
"required": ["href"],
"additionalProperties": false
}
},
"properties": {
"transfer": {
"type": "string"
},
"objects": {
"type": "array",
"items": {
"type": "object",
"properties": {
"oid": {
"type": "string"
},
"size": {
"type": "number",
"minimum": 0
},
"authenticated": {
"type": "boolean"
},
"actions": {
"type": "object",
"properties": {
"download": { "$ref": "#/definitions/action" },
"upload": { "$ref": "#/definitions/action" },
"verify": { "$ref": "#/definitions/action" }
},
"additionalProperties": false
},
"error": {
"type": "object",
"properties": {
"code": {
"type": "number"
},
"message": {
"type": "string"
}
},
"required": ["code", "message"],
"additionalProperties": false
}
},
"required": ["oid", "size"],
"additionalProperties": false
}
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"documentation_url": {
"type": "string"
}
},
"required": ["objects"]
}