Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Policies --> object and not array? #102

Open
SabineGl opened this issue Nov 12, 2024 · 2 comments
Open

Policies --> object and not array? #102

SabineGl opened this issue Nov 12, 2024 · 2 comments

Comments

@SabineGl
Copy link

Hi, if I use policies as array the link is not shown in a proper way in HTML.

I assume policies is supposed to be a type Object?

Otherwise I get a html view like this in data contract manager:

image

Config I used:

terms:
  usage: myUseage
  limitations: df
  billing: "free, monthly costs. ."
  noticePeriod: P6M
  Policies:
  - description: privacy
    url: https://my_link_to_my_privacy_policy
    

in online data contract editor "policy" is not even displayed:

image

I suppose it should be an object like "contact":

info:
  title: Party Channels
  version: 0.0.1
  status: proposed
  owner: urn:li:domain:CSV8A273D17
  contact:
    name: [email protected]
    email: [email protected]
    url: https://git.dev.com/datacontracts/party-channels

@SabineGl
Copy link
Author

Oh I see ... an object array??

@SabineGl
Copy link
Author

SabineGl commented Nov 12, 2024

correct config would be:

policies:
    - description: Link to vvz
      type: privacy
      url: https://my-link.com
   - description: Link to sercurirty
      type: security
      url: https://my-security-link.com      

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant