File tree Expand file tree Collapse file tree 2 files changed +8
-15
lines changed
Expand file tree Collapse file tree 2 files changed +8
-15
lines changed Original file line number Diff line number Diff line change 1- include datacontract_specification /schema.json
1+ include open_data_contract_standard /schema.json
Original file line number Diff line number Diff line change @@ -34,20 +34,13 @@ from open_data_contract_standard.model import OpenDataContractStandard
3434
3535# Load a data contract specification from a string
3636data_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"""
5245data_contract = OpenDataContractStandard.from_string(data_contract_str)
5346# Print the data contract specification as a YAML string
You can’t perform that action at this time.
0 commit comments