Skip to content

Commit 1750026

Browse files
committed
Update
1 parent 116b8f1 commit 1750026

File tree

2 files changed

+8
-15
lines changed

2 files changed

+8
-15
lines changed

MANIFEST.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
include datacontract_specification/schema.json
1+
include open_data_contract_standard/schema.json

README.md

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -34,20 +34,13 @@ from open_data_contract_standard.model import OpenDataContractStandard
3434

3535
# Load a data contract specification from a string
3636
data_contract_str = """
37-
dataContractSpecification: 1.1.0
38-
id: urn:datacontract:checkout:orders-latest
39-
info:
40-
title: Orders Latest
41-
version: 2.0.0
42-
description: |
43-
Successful customer orders in the webshop.
44-
All orders since 2020-01-01.
45-
Orders with their line items are in their current state (no history included).
46-
owner: Checkout Team
47-
status: active
48-
contact:
49-
name: John Doe (Data Product Owner)
50-
url: https://teams.microsoft.com/l/channel/example/checkout
37+
version: 1.0.0
38+
kind: DataContract
39+
id: 53581432-6c55-4ba2-a65f-72344a91553b
40+
status: active
41+
name: my_table
42+
dataProduct: my_quantum
43+
apiVersion: v3.0.1
5144
"""
5245
data_contract = OpenDataContractStandard.from_string(data_contract_str)
5346
# Print the data contract specification as a YAML string

0 commit comments

Comments
 (0)