Skip to content

Commit

Permalink
fix titles
Browse files Browse the repository at this point in the history
- title should be after type
- each element should have a title
- array and items should have plural / singular titles

awk script to show the line after the type:
```
BEGIN { i = 0; }
/type/ { i= 1; next; }
// {if (i == 1) { print($0); i = 0; }}
```
check with:
```
cat fatturaPA_1.2_schema.json  | awk -f type.awk | grep -v title
```
(no output expexted)
  • Loading branch information
Paolo Greppi committed Aug 1, 2018
1 parent ec97f42 commit d228356
Showing 1 changed file with 65 additions and 41 deletions.
Loading

0 comments on commit d228356

Please sign in to comment.