Open markboots opened 6 years ago
I don't see any need to make it REQUIRED.
It seems according to the references you have put up on this issue that if we use a custom profile like we are doing so with 'flow-results-package' then we have to define the flow-results-package
schema. If it is not required then we MUST NOT include the 'flow-results-package'.
I can work on creating this schema, it is one thing if allowed by my team would like working on.
If push comes to shove then I can look into getting rid of the profile before passing it through the package https://github.com/onaio/floip-py which relies on https://github.com/frictionlessdata/datapackage-py
We will also need to define a custom profile schema for the data-resource
, I think flow-results-data-resource
or flow-results-resource
something similar.
Way forward: three phases:
1) Change the profile definition "flow-results-package" to "data-package" in the Flow Results spec, since we can't have the profile included unless we define a validator schema for the profile. [Ona strips this in pre-processing even if a client sends it, for now].
2) Define a validator schema for the profile and post it to FLOIP github. Define profile as URL to the schema on github.
3) Submit profile to Data Packages for acceptance as a named profile, then we can update the spec to use "flow-results-package" again.
According to the Data Packages spec,
profile
is a recommended property, not required. If omitted, the default profile is 'data-resource':https://frictionlessdata.io/specs/profiles/
Do we require a custom Data Packages profile for Flow Results? Or can we use the default profile?
@ukanga @nditada ?