diff --git a/src/common_access_model/schema/common_access_model.yaml b/src/common_access_model/schema/common_access_model.yaml index 9dfcd077..61919d10 100644 --- a/src/common_access_model/schema/common_access_model.yaml +++ b/src/common_access_model/schema/common_access_model.yaml @@ -603,6 +603,7 @@ classes: - file_id - subject_id - sample_id + - file_content_access_policy_id - filename - file_extension - data_category @@ -1262,6 +1263,12 @@ slots: title: File ID description: Unique identifier for this File. range: File + file_content_access_policy_id: + title: File Content Access Policy + description: The access policy that applies to the content of the file. + This is separate from the access policy that applies to the file metadata. + range: AccessPolicy + required: true filename: title: Filename description: The name of the file. diff --git a/tests/data/valid/File-001.yaml b/tests/data/valid/File-001.yaml index 3c7144a7..a8ec6a3b 100644 --- a/tests/data/valid/File-001.yaml +++ b/tests/data/valid/File-001.yaml @@ -7,6 +7,7 @@ sample_id: - bs-55cg5o8i0k - bs-dy45fxh8vr - bs-x1o5ezuit1 +file_content_access_policy_id: co-ajdm9fyxxz filename: TRIO1.joint.vcf.gz file_extension: .vcf.gz data_category: edam:topic_0199 # Genetic variation