Sha256: 94a38c74742fd8fe899498cccd13e746bcb8cfdcceac6278506968895eb73efb

Contents?: true

Size: 1.36 KB

Versions: 5

Compression:

Stored size: 1.36 KB

Contents

$schema: http://json-schema.org/draft-07/schema
$id: https://schemas.ur.unth.net/ur
type: object
properties:
  bound:
    type: string
    description: '[RFC7230] The terms "inbound" and "outbound" are used to describe directional requirements in relation to the request route: "inbound" means toward the origin server and "outbound" means toward the user agent.'
    enum:
    - inbound
    - outbound
  request:
    type: object
    properties:
      method:
        type: string
        description: '[RFC7230] The method token indicates the request method to be performed on the target resource.'
        example: POST
      uri:
        type: string
        format: uri
        example: https://example.com/foo?bar=baz
      headers:
        type: object
      body:
        type: string
  response:
    type: object
    properties:
      status:
        type: integer
        description: >
          The status-code element is a 3-digit integer code describing the
          result of the server's attempt to understand and satisfy the client's
          corresponding request.
        example: 200
      headers:
        type: object
      body:
        type: string
  metadata:
    type: object
    properties:
      began_at_s:
        type: string
        format: date-time
      duration:
        type: number
      tags:
        type: array
        items:
          type: string

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ur-0.2.5 resources/ur.schema.yml
ur-0.2.4 resources/ur.schema.yml
ur-0.2.3 resources/ur.schema.yml
ur-0.2.2 resources/ur.schema.yml
ur-0.2.1 resources/ur.schema.yml