# Copyright 2021 - 2021 PeopleWare n.v.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

type: object
required:
  - error_description
  - error_uri
properties:
  error_description:
    type: string
    format: ascii
    description: >-
      Human-readable ASCII [USASCII] text providing additional information, used to assist the client developer in
      understanding the error that occurred. Values for the `error_description` parameter **must not** include
      characters outside the set `%x20-21` / `%x23-5B` / `%x5D-7E`.
    example: you did something wrong
  error_uri:
    type: string
    format: uri
    description: >-
      A URI identifying a human-readable web page with information about the error, used to provide the client developer
      with additional information about the error. Values for the `error_uri` parameter **must** conform to the
      URI-reference syntax and thus **must not** include characters outside the set `%x21` / `%x23-5B` / `%x5D-7E`.
    example: https://example.org/explanations/that/you-did-something-wrong
