Sha256: 1c7c62761137c22a7797989bf82d09b2ba8d8a5811c4f16ada8fdf4d01f2ecc8

Contents?: true

Size: 1.68 KB

Versions: 15

Compression:

Stored size: 1.68 KB

Contents

---
"$id": https://raw.githubusercontent.com/tcd/eddy/master/data/schema/element_summary.json
"$schema": http://json-schema.org/draft-07/schema#
title: Element Summary
description: An individual EDI Data Element. Used in Companion Guides to define requirements for a Segment.
required:
- ref
- id
- req
type: object
additionalProperties: false
properties:
  default:
    description: Default value for the Element
    type:
    - string
    - integer
    - number
  description:
    description: Description of the Element.
    type: string
  id:
    description: Short string used to identify the Element.
    type: string
  max:
    description: Maximum length for a valid Element value. Used for validation.
    type: integer
    minimum: 1
  min:
    description: Minimum length for a valid Element value. Used for validation.
    type: integer
    minimum: 1
  name:
    description: Full name of the Element.
    type: string
  ref:
    description: Indicates the order in which Elements should appear in their Segment.
    type: string
  req:
    description: Defines if/how the Element is required.
    type: string
    enum: [M, O, X, Z]
  type:
    description: The kind of value the Element will contain.
    type: string
    enum:
    - AN
    - B
    - DT
    - TM
    - ID
    - R
    - N
    - N0
    - N1
    - N2
    - N3
    - N4
    - N5
    - N6
    - N7
    - N8
  usage:
    description: Indicates whether or not the Segment is required by a specific business partner. This value takes precedence over `req` for validation.
    type: string
    enum:
    - Must Use
    - Used
  valid_values:
    description: A list of valid values for the Element.
    type: array
    items:
      type: string

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
eddy-0.10.0 data/schema/src/element_summary.schema.yml
eddy-0.9.2 data/schema/src/element_summary.schema.yml
eddy-0.9.1 data/schema/src/element_summary.schema.yml
eddy-0.9.0 data/schema/src/element_summary.schema.yml
eddy-0.8.4 data/schema/src/element_summary.schema.yml
eddy-0.8.3 data/schema/src/element_summary.schema.yml
eddy-0.8.2 data/schema/src/element_summary.schema.yml
eddy-0.8.1 data/schema/src/element_summary.schema.yml
eddy-0.8.0 data/schema/src/element_summary.schema.yml
eddy-0.7.0 data/schema/src/element_summary.schema.yml
eddy-0.6.0 data/schema/src/element_summary.schema.yml
eddy-0.5.1 data/schema/src/element_summary.schema.yml
eddy-0.5.0 data/schema/src/element_summary.schema.yml
eddy-0.4.0 data/schema/src/element_summary.schema.yml
eddy-0.3.0 data/schema/src/element_summary.schema.yml