Skip to content

Commit

Permalink
didnt register changes
Browse files Browse the repository at this point in the history
  • Loading branch information
calmacx committed Jan 8, 2024
1 parent d477033 commit 1be6f85
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions hdr_schemata/models/HDRUK/v2_1_3/__init__.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,17 @@
from hdr_schemata.models.HDRUK.v2_1_2 import Hdruk212
import json
from typing import Optional
from pydantic import Field
from .Provenance import Provenance


class Hdruk213(Hdruk212):
provenance: Optional[Provenance] = Field(
None,
description="Provenance information allows researchers to understand data within the context of its origins and can be an indicator of quality, authenticity and timeliness.",
title="Provenance",
)

@classmethod
def save_schema(cls, location="./2.1.3/schema.json"):
with open(location, "w") as f:
Expand Down

0 comments on commit 1be6f85

Please sign in to comment.