Data Contract

orders-unit-test

Info

Information about the data contract

Title
Orders Unit Test
Version
1.0.0
Description
The orders data contract
Owner
checkout

Servers

Servers of the data contract

Terms

Terms and conditions of the data contract

Usage
This data contract serves to demo datacontract CLI export.
Limitations
Not intended to use in production
Billing
free
Notice Period
P3M

Data Model

The logical data model

orders table
The orders model
order_id
R U varchar
No description
order_total
R bigint
The order_total field
order_status
R text
No description
Created at 25 Apr 2024 14:38:16 UTC with Data Contract CLI v0.10.1
dataContractSpecification: 0.9.2
id: orders-unit-test
info:
  title: Orders Unit Test
  version: 1.0.0
  description: The orders data contract
  owner: checkout
  contact:
    url: https://wiki.example.com/teams/checkout
    email: [email protected]
servers:
  production:
    type: snowflake
    account: my-account
    database: my-database
    schema_: my-schema
terms:
  usage: This data contract serves to demo datacontract CLI export.
  limitations: Not intended to use in production
  billing: free
  noticePeriod: P3M
models:
  orders:
    description: The orders model
    type: table
    fields:
      order_id:
        type: varchar
        required: true
        primary: false
        unique: true
        pii: true
        classification: sensitive
        pattern: ^B[0-9]+$
        minLength: 8
        maxLength: 10
        tags:
        - order_id
      order_total:
        type: bigint
        required: true
        primary: false
        unique: false
        description: The order_total field
        minimum: 0
        maximum: 1000000
      order_status:
        type: text
        required: true
        primary: false
        unique: false
        enum:
        - pending
        - shipped
        - delivered