{ "$schema": "http://json-schema.org/draft-07/schema#", "title": "OAuth2Application represents an OAuth2 application.", "type": "object", "properties": { "client_id": { "type": "string", "x-go-name": "ClientID" }, "client_secret": { "type": "string", "x-go-name": "ClientSecret" }, "confidential_client": { "type": "boolean", "x-go-name": "ConfidentialClient" }, "created": { "type": "string", "format": "date-time", "x-go-name": "Created" }, "id": { "type": "integer", "format": "int64", "x-go-name": "ID" }, "name": { "type": "string", "x-go-name": "Name" }, "redirect_uris": { "type": "array", "items": { "type": "string" }, "x-go-name": "RedirectURIs" } }, "x-go-package": "forgejo.org/modules/structs" }