Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
I
Integration Platform
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
MaDiPHS
Integration Platform
Commits
076f30b2
Commit
076f30b2
authored
1 year ago
by
Tor-Einar Skog
Browse files
Options
Downloads
Patches
Plain Diff
Add test file
parent
1cd930d0
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
html/tests/subfields.yaml
+117
-0
117 additions, 0 deletions
html/tests/subfields.yaml
with
117 additions
and
0 deletions
html/tests/subfields.yaml
0 → 100644
+
117
−
0
View file @
076f30b2
scheming_version
:
2
dataset_type
:
subfields
about
:
Example dataset schema with simple and repeating subfields
about_url
:
https://github.com/ckan/ckanext-scheming
dataset_fields
:
-
field_name
:
title
label
:
Title
preset
:
title
form_placeholder
:
eg. A descriptive title
required
:
True
-
field_name
:
name
label
:
URL
preset
:
dataset_slug
form_placeholder
:
eg. my-dataset
-
field_name
:
notes
label
:
Description
form_snippet
:
markdown.html
form_placeholder
:
eg. Some useful notes about the data
required
:
True
-
field_name
:
owner_org
label
:
Organization
preset
:
dataset_organization
-
field_name
:
license_id
label
:
License
form_snippet
:
license.html
help_text
:
License definitions and additional information can be found at http://opendefinition.org/
-
field_name
:
citation
label
:
Citation
repeating_subfields
:
-
field_name
:
originator
label
:
Originator
preset
:
multiple_text
form_blanks
:
3
required
:
true
-
field_name
:
publication_date
label
:
Publication Date
preset
:
date
-
field_name
:
online_linkage
label
:
Online Linkage
preset
:
multiple_text
form_blanks
:
2
-
field_name
:
contact_address
label
:
Contact Address
repeating_subfields
:
-
field_name
:
address
label
:
Address
required
:
true
-
field_name
:
city
label
:
City
-
field_name
:
state
label
:
State
-
field_name
:
postal_code
label
:
Postal Code
-
field_name
:
country
label
:
Country
resource_fields
:
-
field_name
:
url
label
:
URL
preset
:
resource_url_upload
-
field_name
:
name
label
:
Title
form_placeholder
:
Descriptive name of the resource.
-
field_name
:
description
label
:
Description
form_snippet
:
markdown.html
form_placeholder
:
Summary explanation of file contents, purpose, origination, methods and usage guidance.
-
field_name
:
schedule
label
:
Schedule
repeating_subfields
:
-
field_name
:
impact
label
:
Impact
preset
:
select
choices
:
-
label
:
All
value
:
A
-
label
:
Partial
value
:
P
-
label
:
Corrections
value
:
C
required
:
true
-
field_name
:
frequency
label
:
Frequency
preset
:
select
choices
:
-
label
:
Daily
value
:
1d
-
label
:
Weekly
value
:
7d
-
label
:
Monthly
value
:
1m
-
label
:
Quarterly
value
:
3m
-
label
:
Semiannual
value
:
6m
-
label
:
Annual
value
:
1y
-
label
:
Decennial
value
:
10y
-
field_name
:
format
label
:
Format
preset
:
resource_format_autocomplete
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment