You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi Frictionless gang, I've got a question about profiles, so brace yourselves! I've been generating some profiles and I've got a situation where I've got a base profile for a class called "study" available here if anyone is curious and I've got resources within various data packages using this profile.
Each of these studies can have an array of treatments, in addition to the ones in my base profile and these treatments will be different for each resource.
The relevant snippet from the study profile is
"treatments": {
"propertyOrder": 260,
"title": "Treatments",
"description": "An array of Treatment Factors used in this Study. These Treatment Factors are defined at https://grassroots.tools/frictionless-data/schemas/field-trials/treatment-resource.json",
"type": "array",
"examples": [
"{ \"treatments\": [ { ... } ]\n \n}\n"
]
}
So.... is there a way in the study profile to say that their array of treatments are items that conform to the treatment schema? Could I have something like a format or rdfType key to specify the schema to use for the objects in the treatments array?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Frictionless gang, I've got a question about profiles, so brace yourselves! I've been generating some profiles and I've got a situation where I've got a base profile for a class called "study" available here if anyone is curious and I've got resources within various data packages using this profile.
Each of these studies can have an array of treatments, in addition to the ones in my base profile and these treatments will be different for each resource.
The relevant snippet from the study profile is
So.... is there a way in the study profile to say that their array of treatments are items that conform to the treatment schema? Could I have something like a format or rdfType key to specify the schema to use for the objects in the treatments array?
Beta Was this translation helpful? Give feedback.
All reactions