Skip to content

Commit 0f081e4

Browse files
authored
Feat 986 change external links to list of dicts (#987)
* changing format * Update metadata.py
1 parent e894069 commit 0f081e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/aind_data_schema/core/metadata.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ class Metadata(AindCoreModel):
7878
metadata_status: MetadataStatus = Field(
7979
default=MetadataStatus.UNKNOWN, title=" Metadata Status", description="The status of the metadata."
8080
)
81-
external_links: List[Dict[ExternalPlatforms, str]] = Field(
81+
external_links: Dict[ExternalPlatforms, List[str]] = Field(
8282
default=[], title="External Links", description="Links to the data asset on different platforms."
8383
)
8484
# We can make the AindCoreModel fields optional for now and do more

0 commit comments

Comments
 (0)