diff --git a/payload-schemas/schemas/common/enterprise.schema.json b/payload-schemas/schemas/common/enterprise.schema.json new file mode 100644 index 000000000..7ee97c28f --- /dev/null +++ b/payload-schemas/schemas/common/enterprise.schema.json @@ -0,0 +1,31 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema", + "$id": "common/enterprise.schema.json", + "type": "object", + "required": [ + "id", + "slug", + "name", + "node_id", + "avatar_url", + "description", + "website_url", + "html_url", + "created_at", + "updated_at" + ], + "properties": { + "id": { "type": "integer" }, + "slug": { "type": "string" }, + "name": { "type": "string" }, + "node_id": { "type": "string" }, + "avatar_url": { "type": "string", "format": "uri" }, + "description": { "type": "string" }, + "website_url": { "type": "string" }, + "html_url": { "type": "string" }, + "created_at": { "type": "string", "format": "date-time" }, + "updated_at": { "type": "string", "format": "date-time" } + }, + "additionalProperties": false, + "title": "Enterprise" +}