diff env/lib/python3.7/site-packages/schema_salad/metaschema/sfdsl_res.yml @ 5:9b1c78e6ba9c draft default tip

"planemo upload commit 6c0a8142489327ece472c84e558c47da711a9142"
author shellac
date Mon, 01 Jun 2020 08:59:25 -0400
parents 79f47841a781
children
line wrap: on
line diff
--- a/env/lib/python3.7/site-packages/schema_salad/metaschema/sfdsl_res.yml	Thu May 14 16:47:39 2020 -0400
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,34 +0,0 @@
-- |
-  ## Domain Specific Language for secondary files
-
-  Fields may be tagged `secondaryFilesDSL: true` in `jsonldPredicate`.  If so, the field is expanded using the
-  following micro-DSL for secondary files:
-
-  * If the value is a string, it is transformed to an object with two fields `pattern` and `required`
-  * By default, the value of `required` is `null` (this indicates default behavior, which may be based on the context)
-  * If the value ends with a question mark `?` the question mark is
-    stripped off and the value of the field `required` is set to `False`
-  * The remaining value is assigned to the field `pattern`
-
-  ### Type DSL example
-
-  Given the following schema:
-
-  ```
-- $include: sfdsl_res_schema.yml
-- |
-  ```
-
-  Process the following example:
-
-  ```
-- $include: sfdsl_res_src.yml
-- |
-  ```
-
-  This becomes:
-
-  ```
-- $include: sfdsl_res_proc.yml
-- |
-  ```