datacontract / datacontract-specification

The Data Contract Specification Repository

Home Page:https://datacontract.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Definitions

jochenchrist opened this issue · comments

components:
  definitions:
    customer_id:
      context: checkout
      name: customer_id
      title: Customer ID
      type: string
      description: Only registered webshop customers have a customer_id
      example: 34758934758934
      pii: true
      classification: sensitive
      tags: []

Can be used as:

schema:
  models:
   name: order_merge
   columns:
   - name: customer_id_1
     $ref: '#/components/definitions/customer_id'

Closing this, as this is now implemented.