View the appropriate resource type form, which must be used when submitting a new resource of a specific resource type.
OK
{- "code": "GHG_ENERGY_SINGLE_EDIT",
- "action": "EDIT",
- "entityEnriching": true,
- "fields": [
- {
- "field": "string",
- "edit": true,
- "required": "EXCEPT_DRAFT",
- "maxLength": 0,
- "regex": "string",
- "keyStatusField": "program[GHG_MEASUREMENT_PROGRAM:1.0.0].status",
- "form": { },
- "editForms": [
- {
- "key": "string",
- "form": { }
}
], - "editFormKeyField": "string",
- "onAdd": {
- "conditionalAuthorities": [
- {
- "criteria": [
- {
- "state": null,
- "predicateBean": null
}
], - "editAuthorities": [
- "string"
], - "viewAuthorities": [
- "string"
]
}
]
}, - "onEdit": {
- "conditionalAuthorities": [
- {
- "criteria": [
- {
- "state": null,
- "predicateBean": null
}
], - "editAuthorities": [
- "string"
], - "viewAuthorities": [
- "string"
]
}
]
}, - "intervalBeginIfNullBehavior": "START_OF_CURRENT_DAY",
- "intervalEndIfNullBehavior": "END_OF_TIME",
- "hints": "naturalGeographyProgramCode\": \"GHG_MEASUREMENT_PROGRAM"
}
], - "hints": [
- {
- "field": "string",
- "collection": "DESIRED_STATE",
- "create": "NEVER"
}
]
}