{"id":"https://schema.entrecode.de/schema-acc/client","allOf":[{"$ref":"https://schema.entrecode.de/schema-acc/hal#/definitions/halResource"},{"type":"object","properties":{"clientID":{"type":"string","pattern":"^[a-z0-9\\-]+$"},"clientName":{"type":"string","pattern":"^[a-zA-Z0-9\\- ]+$"},"clientType":{"enum":["Public Client","Private Client","API Client","Legacy Client","Unknown Client"]},"grantTypes":{"type":"array","items":{"enum":["authorization_code","refresh_token","client_credentials"]}},"tokenEndpointAuthMethod":{"enum":["client_secret_basic","none"]},"clientSecret":{"oneOf":[{"type":"null"},{"type":"string"}]},"redirectURIs":{"type":"array","items":{"type":"string","format":"uri"}},"postLogoutRedirectURIs":{"type":"array","items":{"type":"string","format":"uri"}},"authUIOrigin":{"oneOf":[{"type":"null"},{"type":"string","format":"uri"}]},"customTokenTTL":{"oneOf":[{"type":"null"},{"type":"integer","minimum":0}]},"logoURI":{"oneOf":[{"type":"null"},{"type":"string","format":"uri"}]},"callbackURL":{"oneOf":[{"type":"null"},{"type":"string","format":"uri"}]},"config":{"oneOf":[{"type":"null"},{"type":"object","properties":{"tokenMethod":{"enum":["query","cookie","body"]}}}]},"created":{"type":"string","format":"date-time"},"modified":{"type":"string","format":"date-time"},"_links":{"required":["self","collection"]}},"required":["clientID"]}],"$schema":"http://json-schema.org/draft-04/schema#"}